On 4/12/19 7:26 am, Andrew Barnert via Python-ideas wrote:
If you’re using interning for functionality, to distinguish two equal strings 
that came from different inputs or processes, your code is probably broken.

That's not what interning is normally used for. Usually it's
to allow test for equality to be replaced by tests for identity.

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

Reply via email to