Skip to content

Commit 172243c

Browse files
committed
Update _stdlib_list.py
1 parent 416c064 commit 172243c

2 files changed

Lines changed: 21 additions & 2 deletions

File tree

dep_checker/_stdlib_list.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,16 +39,19 @@
3939
"UserString",
4040
'W',
4141
"__builtin__",
42+
"__future__",
4243
"_ast",
4344
"_dummy_thread",
4445
"_thread",
46+
"_tkinter",
4547
"_winreg",
4648
"abc",
4749
"aepack",
4850
"aetools",
4951
"aetypes",
5052
"aifc",
5153
"al",
54+
"annotationlib",
5255
"anydbm",
5356
"applesingle",
5457
"argparse",
@@ -88,6 +91,7 @@
8891
"commands",
8992
"compileall",
9093
"compiler",
94+
"compression",
9195
"concurrent",
9296
"configparser",
9397
"contextlib",
@@ -254,6 +258,7 @@
254258
"shutil",
255259
"signal",
256260
"site",
261+
"sitecustomize",
257262
"smtpd",
258263
"smtplib",
259264
"sndhdr",
@@ -310,6 +315,7 @@
310315
"urllib2",
311316
"urlparse",
312317
"user",
318+
"usercustomize",
313319
"uu",
314320
"uuid",
315321
"venv",

update_stdlib_list.py

Lines changed: 15 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,24 @@
1111
from sphinx.ext.intersphinx import fetch_inventory
1212

1313
URL = "https://docs.python.org/{}/objects.inv"
14-
VERSIONS = [('2', '7'), ('3', '6'), ('3', '7'), ('3', '8'), ('3', '9'), ('3', "10"), ('3', "11"), ('3', "12")]
14+
VERSIONS = [
15+
('2', '7'),
16+
('3', '6'),
17+
('3', '7'),
18+
('3', '8'),
19+
('3', '9'),
20+
('3', "10"),
21+
('3', "11"),
22+
('3', "12"),
23+
('3', "13"),
24+
('3', "14"),
25+
]
1526

1627

1728
class FakeConfig:
1829
intersphinx_timeout = None
30+
intersphinx_cache_limit = 9999
31+
tls_cacerts = None
1932
tls_verify = True
2033
user_agent = ''
2134

@@ -35,7 +48,7 @@ class FakeApp:
3548

3649
for module in invdata["py:module"]:
3750
root, *_ = module.split('.')
38-
if root not in ["__future__", "__main__"]:
51+
if root not in ["__main__"]:
3952
all_modules.add(root)
4053

4154
with open("dep_checker/_stdlib_list.py", 'w', encoding="UTF-8") as stdlib_file:

0 commit comments

Comments
 (0)