8000 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
Show file tree
Hide file tree
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
Fix AllTest.
  • Loading branch information
carljm committed Apr 22, 2020
commit 3b3dd143ee329a8a587f8d49fba007ffa299a733
2 changes: 1 addition & 1 deletion Lib/lib2to3/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@


warnings.warn(
"lib2to3 is deprecated and may not be able to parse Python 3.10+",
"lib2to3 package is deprecated and may not be able to parse Python 3.10+",
PendingDeprecationWarning,
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I was under the impression that we don't use PendingDeprecationWarning any more: https://bugs.python.org/issue36404

stacklevel=2,
)
1 change: 1 addition & 0 deletions Lib/test/test___all__.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ def check_all(self, modname):
names = {}
with support.check_warnings(
(".* (module|package)", DeprecationWarning),
(".* (module|package)", PendingDeprecationWarning),
("", ResourceWarning),
quiet=True):
try:
Expand Down
0