Reply to Steve D'Aprano -

I am talking about constant name binding. Once the name is bind it cannot be 
changed. The data will remain immutable or mutable.

> That seems very odd. That would mean that you can't pass constants to 
> functions, or put them in lists or dicts, since that would create new 
> references to the object.

Well I thought about constant name binding with freeze protocol but it didn't 
seem to be Pythonic. So I changed my initial idea to have constant name 
binding. Now we can create multiple references.
_______________________________________________
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/EFDQMW4JBQ4F7ZQYQRU3DGB6DLJFSMWL/
Code of Conduct: http://python.org/psf/codeofconduct/

Reply via email to