I think that what you want is another language, that already exists
and it's RPython:

https://rpython.readthedocs.io/en/latest/rpython.html

See constants paragraph.

RPython is used to create PyPy, not to limit normal Python programming :-)
_______________________________________________
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/H3HOXPVCGA6BSGUG3BNNWM2JT7ATZ4OF/
Code of Conduct: http://python.org/psf/codeofconduct/

Reply via email to