[issue43025] Use normal 'i' character to denote imaginary part of complex numbers
Steven D'Aprano
report at bugs.python.org
Mon Jan 25 19:54:37 EST 2021
Steven D'Aprano <steve+python at pearwood.info> added the comment:
I think it always helps to look at what other languages do. It doesn't
mean that we must follow them, but it may help us decide that the choice
made in Python 1 was a mistake and it is worth going through the pain of
deprecation, or that it is still justified and we should stick to the
current design. If everyone else is making a different decision, it pays
to at least consider why. If they're making the same decision we did,
that helps justify what we did.
For what it's worth, although my personal preference would be for i, I
think that going through a disruptive deprecation period is not
justified. j is good enough. I haven't got an opinion on supporting both
i and j.
Eric, if you do follow through with writing a PEP, remember that you
have to make the best case that you can for the change. And you might be
surprised: when Guido volunteered me to write the dict addition PEP, I
initially intended it to be rejected. I never expected that it would be
accepted with a change of operator.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue43025>
_______________________________________
More information about the Python-bugs-list
mailing list