diff options
author | Jacob Walls <jacobtylerwalls@gmail.com> | 2022-04-25 04:50:45 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-04-25 10:50:45 +0200 |
commit | 69337af2b28bef656b79346a3e102b15c9984d10 (patch) | |
tree | ce842fcf3ba60f5cf2491e29052d341cf358e969 /pylint/checkers/imports.py | |
parent | 17981e2b24d421e61ca9d64f46e52b2860f0a203 (diff) | |
download | pylint-git-69337af2b28bef656b79346a3e102b15c9984d10.tar.gz |
Add python 3.11 deprecations from stdlib (#6453)
Diffstat (limited to 'pylint/checkers/imports.py')
-rw-r--r-- | pylint/checkers/imports.py | 25 |
1 files changed, 24 insertions, 1 deletions
diff --git a/pylint/checkers/imports.py b/pylint/checkers/imports.py index 0fd0e0671..1839c98c0 100644 --- a/pylint/checkers/imports.py +++ b/pylint/checkers/imports.py @@ -38,10 +38,33 @@ DEPRECATED_MODULES = { (3, 3, 0): {"xml.etree.cElementTree"}, (3, 4, 0): {"imp"}, (3, 5, 0): {"formatter"}, - (3, 6, 0): {"asynchat", "asyncore"}, + (3, 6, 0): {"asynchat", "asyncore", "smtpd"}, (3, 7, 0): {"macpath"}, (3, 9, 0): {"lib2to3", "parser", "symbol", "binhex"}, (3, 10, 0): {"distutils"}, + (3, 11, 0): { + "aifc", + "audioop", + "cgi", + "cgitb", + "chunk", + "crypt", + "imghdr", + "msilib", + "nis", + "nntplib", + "ossaudiodev", + "pipes", + "sndhdr", + "spwd", + "sunau", + "sre_compile", + "sre_constants", + "sre_parse", + "telnetlib", + "uu", + "xdrlib", + }, } |