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 Retro
Recipients Retro
Date 2010-12-04.09:21:48
SpamBayes Score 4.4650037e-07
Marked as misclassified No
Message-id <1291454509.87.0.00219292943169.issue10621@psf.upfronthosting.co.za>
In-reply-to
Content
Python interpreter should put spaces around operators in return values of complex numbers. If you give it
>>> 1 + 2j
it should return
(1 + 2j)
and not the current
(1+2j)

My argument is that complex numbers are written like this, with spaces surrounding operators. Wikipedia has multiple instances of the complex number writren, and it's x + yi (in our world it's x + yj but you get the point and you can see that there are spaces around the operator). Please fix the tokenizer to do the right thing.
History
Date User Action Args
2010-12-04 09:21:49Retrosetrecipients: + Retro
2010-12-04 09:21:49Retrosetmessageid: <1291454509.87.0.00219292943169.issue10621@psf.upfronthosting.co.za>
2010-12-04 09:21:48Retrolinkissue10621 messages
2010-12-04 09:21:48Retrocreate