This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author veky
Recipients veky
Date 2016-06-21.19:02:08
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>

    >>> complex('1-0j')
    >>> 1-0j

Yes, I understand what's going on, and it's probably wrong / too much to expect 1-0j to work properly, but I'd really like the complex from string constructor to be consistent with that. Even more because (of course):

    >>> import ast
    >>> ast.literal_eval('1-0j')
Date User Action Args
2016-06-21 19:02:08vekysetrecipients: + veky
2016-06-21 19:02:08vekysetmessageid: <>
2016-06-21 19:02:08vekylinkissue27363 messages
2016-06-21 19:02:08vekycreate