commit | c6472e9ee161c3bbc003dbf8ce3f74ec8f700eb9 | [log] [tgz] |
---|---|---|
author | Guido van Rossum <guido@python.org> | Mon Mar 31 17:15:43 1997 +0000 |
committer | Guido van Rossum <guido@python.org> | Mon Mar 31 17:15:43 1997 +0000 |
tree | 66ec944c1e768be04dee20b62c292053a3e6843c | |
parent | dddf7a6fb4f2486a5fbb06acafb3223424e95145 [diff] |
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.