On 1/30/19 6:07 PM, David Mertz wrote:
On Wed, Jan 30, 2019, 4:23 PM Abe Dillon <[email protected]
<mailto:[email protected]> wrote:
Consider thatmath.pi and math.e are constants that are not all caps, have
you ever been tempted to re-bind those variables?
I generally use 'from math import pi as PI' because the lower case is confusing
and misnamed.
Another message here reminded me that the datetime classes are not named
DateTime like they should be. Why not rename them, PI and E too, with suitable
long-term deprecation period?
(As it looks like ALL_CAPS is here to stay.)
-Mike
_______________________________________________
Python-ideas mailing list
[email protected]
https://mail.python.org/mailman/listinfo/python-ideas
Code of Conduct: http://python.org/psf/codeofconduct/