Complex evaluation bug
Heiko Wundram
me+python at modelnine.org
Fri May 19 18:35:02 EDT 2006
Am Freitag 19 Mai 2006 18:03 schrieb Paul McGuire:
> An eval-less approach - the problem is the enclosing parens.
> <snip>
I've just submitted two patches to the Python bugtracker at:
http://sourceforge.net/tracker/index.php?func=detail&aid=1491866&group_id=5470&atid=305470
which either change the repr() format (removing the parentheses), which I find
doubtful, because it's not backwards-compatible, or alter the constructor to
accept the repr() format for complex numbers (a bracketed number).
Feel free to comment.
--- Heiko.
More information about the Python-list
mailing list