Skip to content

Commit 231f2cd

Browse files
authored
Allowlists: move entries relating to __all__ weirdness to their own section
Refs python#6523
1 parent 9c8f0d1 commit 231f2cd

1 file changed

Lines changed: 18 additions & 16 deletions

File tree

‎tests/stubtest_allowlists/py3_common.txt‎

Lines changed: 18 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -311,6 +311,24 @@ _typeshed.* # Utility types for typeshed, doesn't exist at runtime
311311
builtins.reveal_locals
312312
builtins.reveal_type
313313

314+
# __all__-related weirdness (see #6523)
315+
email.base64mime
316+
email.charset
317+
email.encoders
318+
email.errors
319+
email.feedparser
320+
email.generator
321+
email.header
322+
email.iterators
323+
email.message
324+
email.mime
325+
email.parser
326+
email.quoprimime
327+
email.utils
328+
xml.dom
329+
xml.etree
330+
xml.sax
331+
314332
# Platform differences that cannot be captured by the type system
315333
errno.[A-Z0-9]+
316334
os.O_[A-Z_]+
@@ -629,19 +647,6 @@ ctypes.ARRAY
629647
ctypes.SetPointerType
630648
ctypes.c_voidp
631649
ctypes.util.test
632-
email.base64mime
633-
email.charset
634-
email.encoders
635-
email.errors
636-
email.feedparser
637-
email.generator
638-
email.header
639-
email.iterators
640-
email.message
641-
email.mime
642-
email.parser
643-
email.quoprimime
644-
email.utils
645650
importlib.abc.Finder.find_module
646651
lib2to3.pgen2.grammar.Grammar.loads
647652
logging.config.BaseConfigurator
@@ -704,6 +709,3 @@ tkinter.tix.Shell
704709
tracemalloc.BaseFilter
705710
turtle.ScrolledCanvas\..+
706711
turtle.TNavigator.speed
707-
xml.dom
708-
xml.etree
709-
xml.sax

0 commit comments

Comments
 (0)