On 26/05/2021 02:32, Steven D'Aprano wrote:

`math.pi` says hello.

The existence of math.pi and the fact that probably nobody ever has
introduced a bug into their code by carelessly assigning another value
to it suggests strongly that the benefit of language enforced constants
is not high.

But then on the other hand, who would ever want to change the value of
pi?


Surely you recall the Indiana Pi Bill?
_______________________________________________
Python-ideas mailing list -- python-ideas@python.org
To unsubscribe send an email to python-ideas-le...@python.org
https://mail.python.org/mailman3/lists/python-ideas.python.org/
Message archived at 
https://mail.python.org/archives/list/python-ideas@python.org/message/KJ6AYCJFLRBBCUSQ66CXZ5QN65BTGPHM/
Code of Conduct: http://python.org/psf/codeofconduct/

Reply via email to