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 <1466535728.31.0.514028528898.issue27363@psf.upfronthosting.co.za>
In-reply-to
Content
Look:

    >>> complex('1-0j')
    (1-0j)
    >>> 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')
    (1+0j)
History
Date User Action Args
2016-06-21 19:02:08vekysetrecipients: + veky
2016-06-21 19:02:08vekysetmessageid: <1466535728.31.0.514028528898.issue27363@psf.upfronthosting.co.za>
2016-06-21 19:02:08vekylinkissue27363 messages
2016-06-21 19:02:08vekycreate