This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author sobolevn
Recipients JelleZijlstra, benjamin.peterson, lukasz.langa, sobolevn
Date 2022-02-21.10:22:11
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1645438931.34.0.27153420052.issue46815@roundup.psfhosted.org>
In-reply-to
Content
I first noticed it in the buildbot logs:

```
0:24:42 load avg: 3.87 [430/431/1] test_lib2to3 passed (1 min 38 sec)
<string>:2: DeprecationWarning: lib2to3 package is deprecated and may not be able to parse Python 3.10+
```

But, it also happens locally:

```
» ./python.exe Lib/test/test_lib2to3.py
/Users/sobolev/Desktop/cpython/Lib/unittest/loader.py:350: DeprecationWarning: lib2to3 package is deprecated and may not be able to parse Python 3.10+
  __import__(name)
Refactor file: /Users/sobolev/Desktop/cpython/Lib/lib2to3/refactor.py
```

After my patch it is gone:

```
» ./python.exe Lib/test/test_lib2to3.py
Refactor file: /Users/sobolev/Desktop/cpython/Lib/lib2to3/refactor.py
```
History
Date User Action Args
2022-02-21 10:22:11sobolevnsetrecipients: + sobolevn, benjamin.peterson, lukasz.langa, JelleZijlstra
2022-02-21 10:22:11sobolevnsetmessageid: <1645438931.34.0.27153420052.issue46815@roundup.psfhosted.org>
2022-02-21 10:22:11sobolevnlinkissue46815 messages
2022-02-21 10:22:11sobolevncreate