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

Antoine Pitrou report at bugs.python.org
Thu Dec 2 21:41:08 CET 2010


Antoine Pitrou <pitrou at free.fr> added the comment:

> Since the conventional mathematical symbols for the additional
> imaginary units of quaternions are j and k, confusion is bound to
> happen.
> 
> My preferred solution is to limit PYTHONIMAGINARYSYMBOL values to "i",
> "j" or "k" in Python 3.4.  The two additional imaginary unit symbols
> would then be a cyclic permutation of i,j,k, viz. for
> PYTHONIMAGINARYSYMBOL=j, the units are k and i.

Can we consider an environment variable to change the direction of the
permutation, e.g. PYTHONIMAGINARYPERMUTATIONDIR=-1?

Otherwise +11j from me.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue10562>
_______________________________________


More information about the Python-bugs-list mailing list