Mercurial > cpython-lru_cache-weakref
comparison Python/getargs.c @ 5223:bc8832b52b50 legacy-trunk
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.
| author | Guido van Rossum <guido@python.org> |
|---|---|
| date | Mon, 31 Mar 1997 17:15:43 +0000 |
| parents | 4fa19659591e |
| children | c72c7e1930b3 |
comparison
equal
deleted
inserted
replaced
| 5222:4d8b7dd5de2a | 5223:bc8832b52b50 |
|---|
