From 103689b5ca33061c4658d70543143de97014a8bf Mon Sep 17 00:00:00 2001 From: Stephen Morton Date: Thu, 12 Dec 2024 12:53:08 -0800 Subject: [PATCH] move configparser.SectionProxy allowlist to don't fix section --- stdlib/@tests/stubtest_allowlists/common.txt | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/stdlib/@tests/stubtest_allowlists/common.txt b/stdlib/@tests/stubtest_allowlists/common.txt index 7f80b6cbab40..9000131fde9c 100644 --- a/stdlib/@tests/stubtest_allowlists/common.txt +++ b/stdlib/@tests/stubtest_allowlists/common.txt @@ -12,10 +12,6 @@ asyncio.BaseEventLoop.subprocess_exec # BaseEventLoop adds several parameters a asyncio.base_events.BaseEventLoop.subprocess_exec # BaseEventLoop adds several parameters and stubtest fails on the difference if we add them builtins.dict.get collections\.ChainMap\.fromkeys # https://github.com/python/mypy/issues/17023 -configparser.SectionProxy.__getattr__ # SectionProxy can have arbitrary attributes when custom converters are used -configparser.SectionProxy.getboolean # SectionProxy get functions are set in __init__ -configparser.SectionProxy.getfloat # SectionProxy get functions are set in __init__ -configparser.SectionProxy.getint # SectionProxy get functions are set in __init__ contextlib._GeneratorContextManagerBase.__init__ # skipped in the stubs in favor of its child classes ctypes.CDLL._FuncPtr # None at class level but initialized in __init__ to this value ctypes.memmove # CFunctionType @@ -318,6 +314,10 @@ codecs.StreamRecoder.\w+ collections.UserList.sort # Runtime has *args but will error if any are supplied collections.abc.* # Types are re-exported from _collections_abc, so errors should be fixed there +configparser.SectionProxy.__getattr__ # SectionProxy can have arbitrary attributes when custom converters are used +configparser.SectionProxy.getboolean # SectionProxy get functions are set in __init__ +configparser.SectionProxy.getfloat # SectionProxy get functions are set in __init__ +configparser.SectionProxy.getint # SectionProxy get functions are set in __init__ _?contextvars.Context.__init__ # C signature is broader than what is actually accepted copy.PyStringMap # defined only in Jython