Author georg.brandl
Recipients Retro, belopolsky, georg.brandl, mark.dickinson, michael.foord, pitrou, rhettinger
Date 2010-12-02.20:30:35
SpamBayes Score 9.73802e-07
Marked as misclassified No
Message-id <>
We also should consider a good roadmap to account for the eventual support of quaternions in the language syntax.

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.

This deterministic approach has the advantage that migration of code from one imaginary symbol to another is as easy as:

sed -e 's/k/l/' -e 's/j/k/' -e 's/i/j/' -e 's/l/i/'

provided that you restrict yourself not to use the characters i, j, k or l in identifiers, keywords or strings in the source code.
Date User Action Args
2010-12-02 20:30:37georg.brandlsetrecipients: + georg.brandl, rhettinger, mark.dickinson, belopolsky, pitrou, Retro, michael.foord
2010-12-02 20:30:37georg.brandlsetmessageid: <>
2010-12-02 20:30:35georg.brandllinkissue10562 messages
2010-12-02 20:30:35georg.brandlcreate