Skip to content

Commit ac53b41

Browse files
author
James Webber
committed
added comment
1 parent f14daaa commit ac53b41

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

extra_tests/not_impl_gen.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,9 @@
1717
from pydoc import ModuleScanner
1818

1919

20-
DEAD_BATTERIES = {
20+
# modules suggested for deprecation by PEP 594 (www.python.org/dev/peps/pep-0594/)
21+
# some of these might be implemented, but they are not a priority
22+
PEP_594_MODULES = {
2123
"aifc",
2224
"asynchat",
2325
"asyncore",
@@ -194,7 +196,7 @@ def gen_modules():
194196
# e.g. printing something or opening a webpage
195197
modules = {}
196198
for mod_name in scan_modules():
197-
if mod_name in ("this", "antigravity") or mod_name in DEAD_BATTERIES:
199+
if mod_name in ("this", "antigravity") or mod_name in PEP_594_MODULES:
198200
continue
199201
dir_result = dir_of_mod_or_error(mod_name)
200202
if isinstance(dir_result, Exception):

0 commit comments

Comments
 (0)