10000 bpo-40360: Deprecate lib2to3 module in light of PEP 617 by carljm · Pull Request #19663 · python/cpython · GitHub
[go: up one dir, main page]

Skip to content

bpo-40360: Deprecate lib2to3 module in light of PEP 617 #19663

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 4 commits into from
Apr 24, 2020
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Add links to other options.
  • Loading branch information
carljm committed Apr 22, 2020
commit c511f0481d1b9f869c1d8f613db17da38aa06ec9
6 changes: 5 additions & 1 deletion Doc/library/2to3.rst
Original file line number Diff line number Diff line change
Expand Up @@ -468,9 +468,13 @@ and off individually. They are described here in more detail.
Python 3.9 will switch to a PEG parser (see :pep:`617`), and Python 3.10 may
include new language syntax that is not parsable by lib2to3's LL(1) parser.
The ``lib2to3`` module may be removed from the standard library in a future
Python version.
Python version. Consider third-party alternatives such as `LibCST`_ or
`parso`_.

.. note::

The :mod:`lib2to3` API should be considered unstable and may change
drastically in the future.

.. _LibCST: https://libcst.readthedocs.io/
.. _parso: https://parso.readthedocs.io/
0