File tree Expand file tree Collapse file tree 1 file changed +10
-0
lines changed Expand file tree Collapse file tree 1 file changed +10
-0
lines changed Original file line number Diff line number Diff line change @@ -608,6 +608,16 @@ Deprecated
608
608
* Passing ``None `` as the first argument to the :func: `shlex.split ` function
609
609
has been deprecated. (Contributed by Zackery Spytz in :issue: `33262 `.)
610
610
611
+ * The :mod: `lib2to3 ` module now emits a :exc: `PendingDeprecationWarning `.
612
+ Python 3.9 switched to a PEG parser (see :pep: `617 `), and Python 3.10 may
613
+ include new language syntax that is not parsable by lib2to3's LL(1) parser.
614
+ The ``lib2to3 `` module may be removed from the standard library in a future
615
+ Python version. Consider third-party alternatives such as `LibCST `_ or
616
+ `parso `_.
617
+ (Contributed by Carl Meyer in :issue: `40360 `.)
618
+
619
+ .. _LibCST : https://libcst.readthedocs.io/
620
+ .. _parso : https://parso.readthedocs.io/
611
621
612
622
Removed
613
623
=======
You can’t perform that action at this time.
0 commit comments