Skip to content

Commit

Permalink
Added various deprecated functions/methods for python 3.10, 3.7, 3.6 …
Browse files Browse the repository at this point in the history
…and 3.3
  • Loading branch information
matusvalo authored and Pierre-Sassoulas committed Jun 29, 2021
1 parent dec8cef commit dc5aba5
Showing 1 changed file with 24 additions and 1 deletion.
25 changes: 24 additions & 1 deletion pylint/checkers/stdlib.py
Original file line number Diff line number Diff line change
Expand Up @@ -183,6 +183,7 @@
"logging.LoggerAdapter.warn",
"nntplib._NNTPBase.xpath",
"platform.popen",
"sqlite3.OptimizedUnicode",
},
(3, 4, 0): {
"importlib.find_loader",
Expand All @@ -199,15 +200,22 @@
"platform.linux_distribution",
"platform.dist",
},
(3, 6, 0): {"importlib._bootstrap_external.FileLoader.load_module"},
(3, 6, 0): {
"importlib._bootstrap_external.FileLoader.load_module",
"ssl.RAND_pseudo_bytes",
"ssl.SSLSocket.read",
"SSLSocket.write",
},
(3, 7, 0): {
"sys.set_coroutine_wrapper",
"sys.get_coroutine_wrapper",
"aifc.openfp",
"threading.Thread.isAlive",
"asyncio.Task.current_task",
"asyncio.Task.all_task",
"locale.format",
"ssl.wrap_socket",
"ssl.match_hostname",
"sunau.openfp",
"wave.openfp",
},
Expand All @@ -230,6 +238,21 @@
(3, 10, 0): {
"_sqlite3.enable_shared_cache",
"pathlib.Path.link_to",
"zipimport.zipimporter.load_module",
"zipimport.zipimporter.find_module",
"zipimport.zipimporter.find_loader",
"sqlite3.enable_shared_cache",
"pathlib.Path.link_to",
"threading.currentThread",
"threading.activeCount",
"threading.Condition.notifyAll",
"threading.Event.isSet",
"threading.Thread.setName",
"threading.Thread.getName",
"threading.Thread.isDaemon",
"threading.Thread.setDaemon",
"cgi.log",
"SSLSocket.selected_npn_protocol",
},
},
}
Expand Down

0 comments on commit dc5aba5

Please sign in to comment.