Skip to content

Commit 1ec5ccf

Browse files
authored
move configparser.SectionProxy allowlist to don't fix section (#13234)
1 parent bba068c commit 1ec5ccf

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

stdlib/@tests/stubtest_allowlists/common.txt

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,6 @@ asyncio.BaseEventLoop.subprocess_exec # BaseEventLoop adds several parameters a
1212
asyncio.base_events.BaseEventLoop.subprocess_exec # BaseEventLoop adds several parameters and stubtest fails on the difference if we add them
1313
builtins.dict.get
1414
collections\.ChainMap\.fromkeys # https://github.com/python/mypy/issues/17023
15-
configparser.SectionProxy.__getattr__ # SectionProxy can have arbitrary attributes when custom converters are used
16-
configparser.SectionProxy.getboolean # SectionProxy get functions are set in __init__
17-
configparser.SectionProxy.getfloat # SectionProxy get functions are set in __init__
18-
configparser.SectionProxy.getint # SectionProxy get functions are set in __init__
1915
contextlib._GeneratorContextManagerBase.__init__ # skipped in the stubs in favor of its child classes
2016
ctypes.CDLL._FuncPtr # None at class level but initialized in __init__ to this value
2117
ctypes.memmove # CFunctionType
@@ -318,6 +314,10 @@ codecs.StreamRecoder.\w+
318314

319315
collections.UserList.sort # Runtime has *args but will error if any are supplied
320316
collections.abc.* # Types are re-exported from _collections_abc, so errors should be fixed there
317+
configparser.SectionProxy.__getattr__ # SectionProxy can have arbitrary attributes when custom converters are used
318+
configparser.SectionProxy.getboolean # SectionProxy get functions are set in __init__
319+
configparser.SectionProxy.getfloat # SectionProxy get functions are set in __init__
320+
configparser.SectionProxy.getint # SectionProxy get functions are set in __init__
321321
_?contextvars.Context.__init__ # C signature is broader than what is actually accepted
322322
copy.PyStringMap # defined only in Jython
323323

0 commit comments

Comments
 (0)