On 12/03/2019 09:16 AM, Serhiy Storchaka wrote:

The 'u" string literal prefix was removed in 3.0 and reintroduced in 3.3 to help writing 
the code compatible with Python 2 and 3 [1]. After the dead of Python 2.7 we will remove some 
deprecated features kept for compatibility with 2.7. When we are going to deprecate and remove 
the "u" prefix?

Can we gather all the 2.7 compatibility shims and remove them in 3.9?  If not, I would 
say let's deprecate whatever needs deprecating and remove them in 3.10.  I don't think 
the u'' prefix needs the normal 2-cyle deprecation since it was added specifically for 
2/3 cross-version code, and, as you say, "the dead of Python 2.7" has occurred 
(at least for us).

--
~Ethan~

[1] https://www.python.org/dev/peps/pep-0414/
_______________________________________________
Python-Dev mailing list -- python-dev@python.org
To unsubscribe send an email to python-dev-le...@python.org
https://mail.python.org/mailman3/lists/python-dev.python.org/
Message archived at 
https://mail.python.org/archives/list/python-dev@python.org/message/GTCA6FGKF4IVCKW5HFTAP42LC4VPGLLR/
Code of Conduct: http://python.org/psf/codeofconduct/

Reply via email to