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 -- [email protected] To unsubscribe send an email to [email protected] https://mail.python.org/mailman3/lists/python-ideas.python.org/ Message archived at https://mail.python.org/archives/list/[email protected]/message/EWVCTIYJR5UPVKYGSMMVY2TFCHB4EAFX/ Code of Conduct: http://python.org/psf/codeofconduct/
