diff options
author | Collin Winter <collinw@gmail.com> | 2007-03-09 20:33:07 (GMT) |
---|---|---|
committer | Collin Winter <collinw@gmail.com> | 2007-03-09 20:33:07 (GMT) |
commit | e38051db87b92efeb09373bea3900cde073cda96 (patch) | |
tree | 880eb2a1597a55c9f0edabe92dbf22bbffc28a3b /Misc/NEWS | |
parent | 1bcffef959ce2424ab92d780cca06c9493eab6f9 (diff) | |
download | cpython-e38051db87b92efeb09373bea3900cde073cda96.zip cpython-e38051db87b92efeb09373bea3900cde073cda96.tar.gz cpython-e38051db87b92efeb09373bea3900cde073cda96.tar.bz2 |
Patch #1491866: change the complex() constructor to allow parthensized forms. This means complex(repr(x)) now works instead of raising a ValueError.
Diffstat (limited to 'Misc/NEWS')
-rw-r--r-- | Misc/NEWS | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -12,6 +12,10 @@ What's New in Python 2.6 alpha 1? Core and builtins ----------------- +- Patch #1491866: change the complex() constructor to allow parthensized + forms. This means complex(repr(x)) now works instead of raising a + ValueError. + - Patch #703779: unset __file__ in __main__ after running a file. This makes the filenames the warning module prints much more sensible when a PYTHONSTARTUP file is used. |