-
-
Notifications
You must be signed in to change notification settings - Fork 32k
PyArg_UnpackTuple
is used with name=""
#123446
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Labels
extension-modules
C modules in the Modules dir
interpreter-core
(Objects, Python, Grammar, and Parser dirs)
type-bug
An unexpected behavior, bug, or error
Comments
I agree, this is a misuse. The right use is to pass NULL as the name, or better provide some related name if this is possible. |
sobolevn
added a commit
to sobolevn/cpython
that referenced
this issue
Aug 29, 2024
hauntsaninja
pushed a commit
that referenced
this issue
Aug 29, 2024
sobolevn
added a commit
to sobolevn/cpython
that referenced
this issue
Aug 29, 2024
sobolevn
added a commit
to sobolevn/cpython
that referenced
this issue
Aug 29, 2024
…_csv` module (pythonGH-123462) (cherry picked from commit 58ce131) Co-authored-by: sobolevn <[email protected]>
sobolevn
added a commit
to sobolevn/cpython
that referenced
this issue
Aug 29, 2024
sobolevn
added a commit
that referenced
this issue
Aug 30, 2024
Thanks for the report! 👍 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
extension-modules
C modules in the Modules dir
interpreter-core
(Objects, Python, Grammar, and Parser dirs)
type-bug
An unexpected behavior, bug, or error
Uh oh!
There was an error while loading. Please reload this page.
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.c
and 3 times inModules/_csv.c
.CPython versions tested on:
3.12, CPython main branch
Operating systems tested on:
No response
Linked PRs
TypeError
s in_csv
module #123461TypeError
s in_csv
module (follow-up to gh-123461) #123462TypeError
s in_csv
module (GH-123462) #123466TypeError
s intypeobject
#123470The text was updated successfully, but these errors were encountered: