This could also be useful if one eventually wanted to implement constant optimizations in the interpreter as it would be possible to detect constants when they are declared without any code analysis.

This would be "constant" as in Java constants right? Referential constants, so that if an object were mutable you would still be able to change its internal state.

--
Bernardo Sulzbach
http://www.mafagafogigante.org/
[email protected]
_______________________________________________
Python-ideas mailing list
[email protected]
https://mail.python.org/mailman/listinfo/python-ideas
Code of Conduct: http://python.org/psf/codeofconduct/

Reply via email to