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 antocuni
Recipients alexhsamuel, antocuni, benjamin.peterson, mark.dickinson, meador.inge, nascheme, r.david.murray
Date 2012-10-18.12:13:35
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1350562415.8.0.119482987512.issue9011@psf.upfronthosting.co.za>
In-reply-to
Content
I would say that the complex-from-string constructor should be fixed to handle this special case "correctly".
I find very confusing that we get a different result whether we use a string literal or not.

For example, in pypy we use the same code for parsing literals and converting strings, so you get -0.0 in both cases.
History
Date User Action Args
2012-10-18 12:13:35antocunisetrecipients: + antocuni, nascheme, mark.dickinson, benjamin.peterson, alexhsamuel, r.david.murray, meador.inge
2012-10-18 12:13:35antocunisetmessageid: <1350562415.8.0.119482987512.issue9011@psf.upfronthosting.co.za>
2012-10-18 12:13:35antocunilinkissue9011 messages
2012-10-18 12:13:35antocunicreate