[issue10621] 1 + 2j -- (1 + 2j) and not (1+2j)

2011-11-21 Thread Boštjan Mejak
Boštjan Mejak bostjan.me...@gmail.com added the comment: Make the output of a complex expression include spaces around the operator. So, for example, (1+2j) should be outputted as (1 + 2j). Make this happen in Python 3.3. -- nosy: +gvanrossum resolution: wont fix - remind status:

[issue10621] 1 + 2j -- (1 + 2j) and not (1+2j)

2011-11-21 Thread Eric V. Smith
Eric V. Smith e...@trueblade.com added the comment: I'm -1 on this change. I think all the core devs who have commented on it here are -1 or -0. If you really want to lobby for this change, I suggest starting a discussion on python-dev. My position is that I think it would indeed look nicer,

[issue10621] 1 + 2j -- (1 + 2j) and not (1+2j)

2011-11-21 Thread Eric Snow
Eric Snow ericsnowcurren...@gmail.com added the comment: @eric.smith: +1 @Retro: If you are intent on pushing this, please take it to python-id...@python.org. However, judging from the response in this ticket and #10562, you won't get much traction. -- nosy: +eric.snow

[issue10621] 1 + 2j -- (1 + 2j) and not (1+2j)

2011-11-21 Thread Guido van Rossum
Guido van Rossum gu...@python.org added the comment: @Retro, stop reopening bugs. This is very much a matter of personal taste and the existing way is fine. -- resolution: remind - rejected status: open - closed ___ Python tracker

[issue10621] 1 + 2j -- (1 + 2j) and not (1+2j)

2011-11-20 Thread Boštjan Mejak
Changes by Boštjan Mejak bostjan.me...@gmail.com: -- resolution: wont fix - remind status: closed - open versions: +Python 3.3 -Python 2.7, Python 3.1, Python 3.2 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10621

[issue10621] 1 + 2j -- (1 + 2j) and not (1+2j)

2011-11-20 Thread Boštjan Mejak
Changes by Boštjan Mejak bostjan.me...@gmail.com: -- versions: +Python 2.6, Python 2.7, Python 3.1, Python 3.2 -Python 3.3 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10621 ___

[issue10621] 1 + 2j -- (1 + 2j) and not (1+2j)

2011-11-20 Thread Boštjan Mejak
Changes by Boštjan Mejak bostjan.me...@gmail.com: -- versions: +Python 3.3, Python 3.4 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10621 ___ ___

[issue10621] 1 + 2j -- (1 + 2j) and not (1+2j)

2011-11-20 Thread Eric V. Smith
Eric V. Smith e...@trueblade.com added the comment: I'm not sure why this is being reopened. Unless there's been a discussion I'm not aware of, the change is still not worth the disruption it would cause. And in any event, it can only be addressed in new (as yet unreleased) versions of

[issue10621] 1 + 2j -- (1 + 2j) and not (1+2j)

2010-12-04 Thread Boštjan Mejak
New submission from Boštjan Mejak bostjan.me...@gmail.com: 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

[issue10621] 1 + 2j -- (1 + 2j) and not (1+2j)

2010-12-04 Thread Mark Dickinson
Mark Dickinson dicki...@gmail.com added the comment: I suggest closing this as 'won't fix' (or even the apostrophetically-challenged 'wont fix'). I'll leave it open for a while to allow others to comment. I have some sympathy for the idea: I also think that the str/repr of a complex number

[issue10621] 1 + 2j -- (1 + 2j) and not (1+2j)

2010-12-04 Thread Eric Smith
Eric Smith e...@trueblade.com added the comment: I agree. It would be nice, but the impact on existing code is too large. I can easily imagine someone parsing the output of print(somecomplexnumber) and not considering spaces. For the record, it would require changing complex.__repr__ (which

[issue10621] 1 + 2j -- (1 + 2j) and not (1+2j)

2010-12-04 Thread Boštjan Mejak
Boštjan Mejak bostjan.me...@gmail.com added the comment: Please do the move to complex_repr if everything then works the same (i.e. nothing breaks the build) if the readability is in fact improved. Also, change the docs and fix the tests. You know the drill. P.S.: (1+2j) is worth changing to

[issue10621] 1 + 2j -- (1 + 2j) and not (1+2j)

2010-12-04 Thread Eric Smith
Eric Smith e...@trueblade.com added the comment: There are no tests or docs to fix: it's an internal (static) helper function. It's not a particularly straightforward change, because you're inserting a space into the middle of the floating point imaginary string. There would be extra

[issue10621] 1 + 2j -- (1 + 2j) and not (1+2j)

2010-12-04 Thread Éric Araujo
Changes by Éric Araujo mer...@netwok.org: Removed file: http://bugs.python.org/file19937/unnamed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10621 ___

[issue10621] 1 + 2j -- (1 + 2j) and not (1+2j)

2010-12-04 Thread Éric Araujo
Éric Araujo mer...@netwok.org added the comment: -1 on the change. Retro: would you mind stop sending HTML email to this tracker? It creates unnamed attachments that are distracting. Thanks in advance. -- nosy: +eric.araujo ___ Python tracker

[issue10621] 1 + 2j -- (1 + 2j) and not (1+2j)

2010-12-04 Thread Mark Dickinson
Mark Dickinson dicki...@gmail.com added the comment: Okay, closing as 'wont fix'. -- resolution: - wont fix status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10621 ___

[issue10621] 1 + 2j -- (1 + 2j) and not (1+2j)

2010-12-04 Thread Mark Dickinson
Changes by Mark Dickinson dicki...@gmail.com: -- components: +Interpreter Core -IO type: - feature request ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10621 ___

[issue10621] 1 + 2j -- (1 + 2j) and not (1+2j)

2010-12-04 Thread Boštjan Mejak
Boštjan Mejak bostjan.me...@gmail.com added the comment: Do you ever fix anything? -- Added file: http://bugs.python.org/file19940/unnamed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10621

[issue10621] 1 + 2j -- (1 + 2j) and not (1+2j)

2010-12-04 Thread Eric Smith
Changes by Eric Smith e...@trueblade.com: Removed file: http://bugs.python.org/file19940/unnamed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10621 ___

[issue10621] 1 + 2j -- (1 + 2j) and not (1+2j)

2010-12-04 Thread Éric Araujo
Éric Araujo mer...@netwok.org added the comment: Not much: