mirror of
https://github.com/python/cpython.git
synced 2026-05-18 02:15:28 -04:00
95bc980d9e
- simplify parsing and printing of complex numbers
- make complex(repr(z)) round-tripping work for complex
numbers involving nans, infs, or negative zeros
- don't accept some of the stranger complex strings
that were previously allowed---e.g., complex('1..1j')