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 belopolsky
Recipients Retro, adambyrtek, belopolsky, eric.araujo, lehmannro, lemburg, mark.dickinson, pitrou, rhettinger
Date 2010-12-03.18:03:05
SpamBayes Score 6.484915e-05
Marked as misclassified No
Message-id <1291399386.64.0.0232967199594.issue10562@psf.upfronthosting.co.za>
In-reply-to
Content
> Alexander, is it possible to make an output like (1+2j)
> be printed as (1 + 2j).

Sure, and 'j' can be highlighted in red, but this is a job for a front-end or a custom display hook, not core python.  You may want to take a look at ipython.

> Also, why is the result put in parens?

There was a historical reason for that, but I don't remember it now.  You may find the answer in the tracker, svn log, or python-dev archives.

It may not have been obvious, but most of the comments here including mine were not serious even when they did not include smileys.  Nothing will happen here.  Time to move on.
History
Date User Action Args
2010-12-03 18:03:06belopolskysetrecipients: + belopolsky, lemburg, rhettinger, mark.dickinson, pitrou, lehmannro, eric.araujo, Retro, adambyrtek
2010-12-03 18:03:06belopolskysetmessageid: <1291399386.64.0.0232967199594.issue10562@psf.upfronthosting.co.za>
2010-12-03 18:03:05belopolskylinkissue10562 messages
2010-12-03 18:03:05belopolskycreate