From e434b23741a5e3f2ea899ccfb0ef2a15f168ebf1 Mon Sep 17 00:00:00 2001 From: Alex Waygood Date: Fri, 31 Dec 2021 12:31:18 +0000 Subject: [PATCH] Allowlists: move entries relating to `__all__` weirdness to their own section (#6767) Co-authored-by: Akuli --- tests/stubtest_allowlists/py3_common.txt | 36 +++++++++++++----------- 1 file changed, 19 insertions(+), 17 deletions(-) diff --git a/tests/stubtest_allowlists/py3_common.txt b/tests/stubtest_allowlists/py3_common.txt index ac628f6a9..08860038a 100644 --- a/tests/stubtest_allowlists/py3_common.txt +++ b/tests/stubtest_allowlists/py3_common.txt @@ -311,6 +311,24 @@ _typeshed.* # Utility types for typeshed, doesn't exist at runtime builtins.reveal_locals builtins.reveal_type +# __all__-related weirdness (see #6523) +email.base64mime +email.charset +email.encoders +email.errors +email.feedparser +email.generator +email.header +email.iterators +email.message +email.mime +email.parser +email.quoprimime +email.utils +xml.dom +xml.etree +xml.sax + # Platform differences that cannot be captured by the type system errno.[A-Z0-9]+ os.O_[A-Z_]+ @@ -591,7 +609,7 @@ distutils.unixccompiler.UnixCCompiler.xcode_stub_lib_extension distutils.unixccompiler.UnixCCompiler.xcode_stub_lib_format distutils.util.grok_environment_error -# Missing from pkgutil.ImpLoader (deprecated since 3.3, can add if someone needs it) +# Missing from pkgutil.ImpImporter/ImpLoader (both deprecated since 3.3, can add if someone needs it) pkgutil.ImpImporter.find_module pkgutil.ImpImporter.iter_modules pkgutil.ImpLoader.code @@ -629,19 +647,6 @@ ctypes.ARRAY ctypes.SetPointerType ctypes.c_voidp ctypes.util.test -email.base64mime -email.charset -email.encoders -email.errors -email.feedparser -email.generator -email.header -email.iterators -email.message -email.mime -email.parser -email.quoprimime -email.utils importlib.abc.Finder.find_module lib2to3.pgen2.grammar.Grammar.loads logging.config.BaseConfigurator @@ -704,6 +709,3 @@ tkinter.tix.Shell tracemalloc.BaseFilter turtle.ScrolledCanvas\..+ turtle.TNavigator.speed -xml.dom -xml.etree -xml.sax