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:
Carl Meyer 2020-04-24 12:19:46 -06:00 committed by GitHub
parent 24ffe705c3
commit 503de7149d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 20 additions and 5 deletions

View file

@ -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,
)