Author aronacher
Recipients aronacher, benjamin.peterson, georg.brandl, mark.dickinson
Date 2009-01-13.11:34:52
SpamBayes Score 0.0671605
Marked as misclassified No
Message-id <>
literal_eval has eval() semantics and not complex() constructor
semantics.  It accepts what eval() accepts just without arithmetic and
unsafe features.

For exmaple "(2 + 4j)" is perfectly fine even though the complex call
only supports "2+4j" (no parentheses and whitespace).

I commit the fix with the ValueError except Georg suggested.
Date User Action Args
2009-01-13 11:34:54aronachersetrecipients: + aronacher, georg.brandl, mark.dickinson, benjamin.peterson
2009-01-13 11:34:53aronachersetmessageid: <>
2009-01-13 11:34:53aronacherlinkissue4907 messages
2009-01-13 11:34:52aronachercreate