mirror of
https://github.com/python/cpython.git
synced 2025-07-24 11:44:31 +00:00
bpo-40360: Deprecate lib2to3 module in light of PEP 617 (GH-19663)
Deprecate lib2to3 module in light of PEP 617. We anticipate removal in the 3.12 timeframe.
This commit is contained in:
parent
24ffe705c3
commit
503de7149d
4 changed files with 20 additions and 5 deletions
|
@ -1 +1,8 @@
|
|||
#empty
|
||||
import warnings
|
||||
|
||||
|
||||
warnings.warn(
|
||||
"lib2to3 package is deprecated and may not be able to parse Python 3.10+",
|
||||
PendingDeprecationWarning,
|
||||
stacklevel=2,
|
||||
)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue