First it would seem useless or not necessary but soon this becomes clear. 1) It 
would help programmers debug their code easily and help them find out that the 
bug's not in the constant, that's for sure. 2) This would allow another branch 
of OOP programming to enter Python. Read-only member variables. There are 
Private members in Java and C++. But I believe they are not their to hide 
things. They are there to debug.
_______________________________________________
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/PU4DFQRCAEXXQVECJ3IIZQK2UQLAENCX/
Code of Conduct: http://python.org/psf/codeofconduct/

Reply via email to