[Python-ideas] Keyword/Symbol literals
alexander.belopolsky at gmail.com
Thu Jan 22 03:08:06 CET 2015
On Wed, Jan 21, 2015 at 5:18 PM, Greg Ewing <greg.ewing at canterbury.ac.nz>
> Alexander Belopolsky wrote:
>> Why can't we make interned strings a subclass of strings like bool is a
>> subclass of int?
> Because a string can change from being non-interned to
> being interned at some point in its life.
I did not know that. Can you show the code that would cause such a change?
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Python-ideas