[issue10562] Change 'j' for imaginary unit into an 'i'

Boštjan Mejak report at bugs.python.org
Fri Dec 3 10:26:06 CET 2010


Boštjan Mejak <bostjan.mejak at gmail.com> added the comment:

The result of 1 + 2j cannot be further broken down, so the result stays as 1
+ 2j (note the spaces!).

(1+2j)

(1 + 2j)

Following PEP 8 in this regard is also needed. Abandon the request of adding
the i unit and rather fix this spacing issue. The complex() built-in
function should also be fixed to add spaces around operators.

----------
Added file: http://bugs.python.org/file19923/unnamed

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue10562>
_______________________________________
-------------- next part --------------
The result of 1 + 2j cannot be further broken down, so the result stays as 1 + 2j (note the spaces!).<div><br></div><div>No:</div><div><div>&gt;&gt;&gt; 1 + 2j</div><div>(1+2j)</div></div><div><br></div><div>Yes:</div><div>
<div>&gt;&gt;&gt; 1 + 2j</div><div>(1 + 2j)</div></div><div><br></div><div><br></div><div>Following PEP 8 in this regard is also needed. Abandon the request of adding the i unit and rather fix this spacing issue. The complex() built-in function should also be fixed to add spaces around operators.</div>


More information about the Python-bugs-list mailing list