[issue22545] incomplete complex repr() with negative zeroes

2014-10-03 Thread Mark Dickinson
Mark Dickinson added the comment: Ah yes, that would make sense. I vaguely remember fixing this between Python 2.6 and Python 2.7. -- ___ Python tracker ___ ___

[issue22545] incomplete complex repr() with negative zeroes

2014-10-03 Thread Antoine Pitrou
Antoine Pitrou added the comment: Actually, I realize it's not even Anaconda. I was just using a 2.6 interpreter, which apparently had a differently complex repr(). -- ___ Python tracker __

[issue22545] incomplete complex repr() with negative zeroes

2014-10-03 Thread Mark Dickinson
Mark Dickinson added the comment: Out of interest, what caused Anaconda to behave differently? Is there some fragility that needs fixing in the Python core code? -- ___ Python tracker

[issue22545] incomplete complex repr() with negative zeroes

2014-10-03 Thread Eric V. Smith
Eric V. Smith added the comment: No problem! For completeness, I also see the correct behavior on cygwin 32-bit 2.7.3 and 3.2.3. I don't have access to a straight Windows version. -- ___ Python tracker __

[issue22545] incomplete complex repr() with negative zeroes

2014-10-03 Thread Antoine Pitrou
Antoine Pitrou added the comment: Oh, my bad. This is with an Anaconda build of Python. -- resolution: -> works for me stage: -> resolved status: open -> closed ___ Python tracker

[issue22545] incomplete complex repr() with negative zeroes

2014-10-03 Thread Eric V. Smith
Eric V. Smith added the comment: Where are you seeing this? On an Ubuntu 13.10 x86 box, I see: >>> complex(-0.0) (-0+0j) This is with 2.7.5+, 3.3.2+ (from Ubuntu distro), and with 3.5.0a0 and 3.4.2rc1+ built locally. -- ___ Python tracker

[issue22545] incomplete complex repr() with negative zeroes

2014-10-03 Thread Antoine Pitrou
New submission from Antoine Pitrou: >>> complex(-0.0) 0j >>> complex(-0.0).real -0.0 -- components: Interpreter Core messages: 228310 nosy: eric.smith, lemburg, mark.dickinson, pitrou, stutzbach priority: normal severity: normal status: open title: incomplete complex repr() with negative