Allowlists: mark Pickler.memo as wontfix, note that pkg.ImpLoader is deprecated (#6536)

This commit is contained in:
Alex Waygood
2021-12-07 16:27:19 +00:00
committed by GitHub
parent 91465a1d07
commit 4ce28b015a

View File

@@ -248,6 +248,8 @@ builtins.reveal_type
builtins.OSError.characters_written
collections.abc.* # Types are re-exported from _collections_abc, so errors should be fixed there
distutils.command.check.SilentReporter # only defined if docutils in installed
pickle.Pickler.memo # undocumented implementation detail, has different type in C/Python implementations
pickle.Unpickler.memo # undocumented implementation detail, has different type in C/Python implementations
pydoc.Helper.symbol # Loop variable in class https://github.com/python/typeshed/issues/6401#issuecomment-981178522
pydoc.Helper.symbols_ # Loop variable in class https://github.com/python/typeshed/issues/6401#issuecomment-981178522
pydoc.Helper.topic # Loop variable in class https://github.com/python/typeshed/issues/6401#issuecomment-981178522
@@ -491,6 +493,18 @@ 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)
pkgutil.ImpImporter.find_module
pkgutil.ImpImporter.iter_modules
pkgutil.ImpLoader.code
pkgutil.ImpLoader.get_code
pkgutil.ImpLoader.get_data
pkgutil.ImpLoader.get_filename
pkgutil.ImpLoader.get_source
pkgutil.ImpLoader.is_package
pkgutil.ImpLoader.load_module
pkgutil.ImpLoader.source
# ==========
# Exists at runtime, but missing from stubs
# ==========
@@ -624,21 +638,9 @@ multiprocessing.synchronize.Semaphore.get_value
(os|posix).uname_result.n_fields
(os|posix).uname_result.n_sequence_fields
(os|posix).uname_result.n_unnamed_fields
pickle.Pickler.memo
pickle.Unpickler.memo
pipes.Template.makepipeline
pipes.Template.open_r
pipes.Template.open_w
pkgutil.ImpImporter.find_module
pkgutil.ImpImporter.iter_modules
pkgutil.ImpLoader.code
pkgutil.ImpLoader.get_code
pkgutil.ImpLoader.get_data
pkgutil.ImpLoader.get_filename
pkgutil.ImpLoader.get_source
pkgutil.ImpLoader.is_package
pkgutil.ImpLoader.load_module
pkgutil.ImpLoader.source
profile.Profile.dispatch
profile.Profile.fake_code
profile.Profile.fake_frame