On Wed, May 26, 2021 at 07:14:41AM -0000, Shreyan Avigyan wrote:
> Reply to Steven D'Aprano:
> 
> > But you've said that you want constants to be capable of being rebound 
> > to a new value. So your constants are identical to variables.
> 
> No, not at all. Actually to be clear, constants are supposed to behave 
> like literals but in implementation they are nothing more than names 
> that are bind to a value.

I don't know how you think literals behave and you haven't told us!

"Nothing more" than a name bound to a value is a variable. Why do you 
call it a constant if it is nothing more than a variable?


-- 
Steve
_______________________________________________
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/4UXYDVE4LV3F4ZNUTN7B5LNLYEZ52TDZ/
Code of Conduct: http://python.org/psf/codeofconduct/

Reply via email to