[Python-Dev] Deprecate `from __future__ import unicode_literals`?

Serhiy Storchaka storchaka at gmail.com
Sat Dec 17 04:06:37 EST 2016


On 16.12.16 21:24, Guido van Rossum wrote:
> e.g. the argument to getattr() -- I still hear of code that breaks due
> to this occasionally)

What is the problem with unicode in getattr()? Unicode attribute name is 
converted to str, and since the result is cached, this even don't add 
much overhead.




More information about the Python-Dev mailing list