On Sun, Aug 21, 2016 at 6:08 PM, <tritium-l...@sdamon.com> wrote: > > from __future__ import unicode_literals outright changes the type of object > string literals make (in python 2). If you were to create a non-iterable, > non-sequence text type (a horrible idea, IMO) the same thing can be done done > for that. >
It could; but that just changes what *literals* make. But what about other sources of strings - str()? bytes.decode()? format()? repr()? Which ones get changed, and which don't? There's no easy way to do this. ChrisA _______________________________________________ Python-ideas mailing list Python-ideas@python.org https://mail.python.org/mailman/listinfo/python-ideas Code of Conduct: http://python.org/psf/codeofconduct/