diff options
-rw-r--r-- | pylint/checkers/stdlib.py | 25 |
1 files changed, 24 insertions, 1 deletions
diff --git a/pylint/checkers/stdlib.py b/pylint/checkers/stdlib.py index d450dbc70..13a22d1db 100644 --- a/pylint/checkers/stdlib.py +++ b/pylint/checkers/stdlib.py @@ -183,6 +183,7 @@ DEPRECATED_METHODS = { "logging.LoggerAdapter.warn", "nntplib._NNTPBase.xpath", "platform.popen", + "sqlite3.OptimizedUnicode", }, (3, 4, 0): { "importlib.find_loader", @@ -199,15 +200,22 @@ DEPRECATED_METHODS = { "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", }, @@ -230,6 +238,21 @@ DEPRECATED_METHODS = { (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", }, }, } |