On 12/10/20 10:58 AM, Victor Stinner wrote: > 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?
lib2to3 is used by distutils/util, so why deprecate it before distutils? _______________________________________________ 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/KZ37BBHWE7UG65J6APC6ONW2LGWFXNTT/ Code of Conduct: http://python.org/psf/codeofconduct/