From 7b4241b03f6024c9779beb12118105adce3e7c09 Mon Sep 17 00:00:00 2001 From: Alex Waygood Date: Thu, 30 Dec 2021 16:26:48 +0000 Subject: [PATCH] Allowlists: mark several entries as wontfix, add note to inspect.Parameter entries (#6756) --- tests/stubtest_allowlists/py3_common.txt | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/tests/stubtest_allowlists/py3_common.txt b/tests/stubtest_allowlists/py3_common.txt index 028aaf645..ac628f6a9 100644 --- a/tests/stubtest_allowlists/py3_common.txt +++ b/tests/stubtest_allowlists/py3_common.txt @@ -105,6 +105,7 @@ importlib.abc.MetaPathFinder.find_spec # Not defined on the actual class, but e importlib.abc.PathEntryFinder.find_spec # Not defined on the actual class, but expected to exist. importlib.machinery.ExtensionFileLoader.get_filename # Wrapped with _check_name decorator which changes runtime signature inspect.Parameter.empty # set as private marker _empty +# inspect.Parameter: the Literal[enum_member] annotations are too complex for stubtest to parse inspect.Parameter.KEYWORD_ONLY inspect.Parameter.POSITIONAL_ONLY inspect.Parameter.POSITIONAL_OR_KEYWORD @@ -392,6 +393,13 @@ email.contentmanager.set_bytes_content email.contentmanager.set_message_content email.contentmanager.set_text_content email.iterators.walk +pipes.Template.makepipeline +pipes.Template.open_r +pipes.Template.open_w +sunau.Au_read.initfp +sunau.Au_write.initfp +wave.Wave_read.initfp +wave.Wave_write.initfp # Side effects from module initialization _compat_pickle.excname @@ -669,13 +677,8 @@ multiprocessing.pool.Pool.Process multiprocessing.pool.ThreadPool.Process multiprocessing.reducer multiprocessing.synchronize.Semaphore.get_value -pipes.Template.makepipeline -pipes.Template.open_r -pipes.Template.open_w rlcompleter.Completer.attr_matches rlcompleter.Completer.global_matches -sunau.Au_read.initfp -sunau.Au_write.initfp tkinter.Misc.config tkinter.font.Font.counter tkinter.simpledialog.Dialog.apply @@ -701,8 +704,6 @@ tkinter.tix.Shell tracemalloc.BaseFilter turtle.ScrolledCanvas\..+ turtle.TNavigator.speed -wave.Wave_read.initfp -wave.Wave_write.initfp xml.dom xml.etree xml.sax