mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-20 02:41:16 +08:00
Allowlists: move entries relating to __all__ weirdness to their own section (#6767)
Co-authored-by: Akuli <akuviljanen17@gmail.com>
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user