1. Add string conversions to int(), long(), float(). (Not to complex()!)
2. Fix two bugs in complex(): - Memory leak when using complex(classinstance) -- r was never DECREF'ed. - Conversion of the second argument, if not complex, was done using the type vector of the 1st.
G
Guido van Rossum committed
c6472e9ee161c3bbc003dbf8ce3f74ec8f700eb9
Parent: dddf7a6