You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There are custom Argument Clinic converters that define format_unit but omit parse_arg. As a result, generation of positional argument parsers is forced to back up from the fastest possible _PyArg_CheckPositional to slower _PyArg_ParseStack-based format strings.
Here is a list of such classes (and fixing PRs except complex cases):
There are custom Argument Clinic converters that define
format_unit
but omitparse_arg
. As a result, generation of positional argument parsers is forced to back up from the fastest possible_PyArg_CheckPositional
to slower_PyArg_ParseStack
-based format strings.Here is a list of such classes (and fixing PRs except complex cases):
Modules\_multiprocessing\multiprocessing.c (gh-94512: Fix forced arg format in AC-processed multiprocessing #94517)
Modules\_multiprocessing\semaphore.c
Modules\overlapped.c (gh-94512: Fix forced arg format in AC-processed overlapped #94516)
Modules\posixmodule.c (gh-94512: Fix forced arg format in AC-processed
posixmodule.c
#122516)Modules\resource.c (gh-94512: Fix forced arg format in AC-processed resource #94515)
PC\msvcrtmodule.c (gh-94512: Fix forced arg format in AC-processed msvcrtmodule #94514)
PC\winreg.c (gh-94512: Fix forced arg format in AC-processed winreg #94513)
An example of such a converter:
I'm going to teach all of them about low-level generation by replacing manual
format_unit
definitions with:parse_arg
s in other places.For the example it gives:
Linked PRs
posixmodule.c
#122516The text was updated successfully, but these errors were encountered: