Hi,

I vaguely recall that PEP 617 "New PEG parser for CPython" was
supposed to deprecate the lib2to3 module and the 2to3 program.

I see that lib2to3/__init__.py contains a PendingDeprecationWarning in
Python 3.9. Can it be converted into a regular DeprecationWarning and
document the deprecation in Doc/library/2to3.rst?

--

Do we still want to maintain lib2to3? People who didn't migrate to
Python 3 can use 2to3 of Python 3.9 or Python 3.10. There are also
other tools like 2to6, modernize, etc. (or my "sixer" project which I
no longer maintains.)

I'm not sure sure if the lib2to3 module is used by 3rd party projects
like modernize or black?

I understood that lib2to3 is a LL(1) parser and so cannot be used with
latest Python grammar.

Well, also, Python 2.7 is not longer supported.

Victor
-- 
Night gathers, and now my watch begins. It shall not end until my death.
_______________________________________________
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/6PL5LMSLYVHJNLTCGUDYWVAU2VTS3CYW/
Code of Conduct: http://python.org/psf/codeofconduct/

Reply via email to