Issue #5816:
commit4231f420c3bc5189ab98486e41e77cfabf992485
authormark.dickinson <mark.dickinson@6015fed2-1504-0410-9fe1-9d1591cc4771>
Fri, 24 Apr 2009 12:46:53 +0000 (24 12:46 +0000)
committermark.dickinson <mark.dickinson@6015fed2-1504-0410-9fe1-9d1591cc4771>
Fri, 24 Apr 2009 12:46:53 +0000 (24 12:46 +0000)
treec9c6eea8ac653aee3052f3c2a76349dab9c3042e
parent48218b6ecb896f4adeb61874364506da23b1fccd
Issue #5816:
 - 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')

git-svn-id: http://svn.python.org/projects/python/trunk@71824 6015fed2-1504-0410-9fe1-9d1591cc4771
Lib/test/test_complex.py
Misc/NEWS
Objects/complexobject.c
Python/pystrtod.c