-
-
Notifications
You must be signed in to change notification settings - Fork 34.4k
PyArg_UnpackTuple is used with name="" #123446
Copy link
Copy link
Closed
Labels
extension-modulesC modules in the Modules dirC modules in the Modules dirinterpreter-core(Objects, Python, Grammar, and Parser dirs)(Objects, Python, Grammar, and Parser dirs)type-bugAn unexpected behavior, bug, or errorAn unexpected behavior, bug, or error
Metadata
Metadata
Assignees
Labels
extension-modulesC modules in the Modules dirC modules in the Modules dirinterpreter-core(Objects, Python, Grammar, and Parser dirs)(Objects, Python, Grammar, and Parser dirs)type-bugAn unexpected behavior, bug, or errorAn unexpected behavior, bug, or error
Bug report
Bug description:
PyArg_UnpackTuple(args, "",causes empty name to be used in error messages:According to my quick search,
PyArg_UnpackTuple(args, "",is used 10 times inObjects/typeobject.cand 3 times inModules/_csv.c.CPython versions tested on:
3.12, CPython main branch
Operating systems tested on:
No response
Linked PRs
TypeErrors in_csvmodule #123461TypeErrors in_csvmodule (follow-up to gh-123461) #123462TypeErrors in_csvmodule (GH-123462) #123466TypeErrors intypeobject#123470