bpo-39884: Add method name in "bad call flags" error#18944
bpo-39884: Add method name in "bad call flags" error#18944vstinner merged 2 commits intopython:masterfrom vstinner:bad_call_flags
Conversation
PyDescr_NewMethod() and PyCFunction_NewEx() now include the method name in the SystemError "bad call flags" error message to ease debug.
ngie-eign
left a comment
There was a problem hiding this comment.
Nice! That's a lot simpler than I thought it would be...
|
Thanks @vstinner for the PR 🌮🎉.. I'm working now to backport this PR to: 3.8. |
|
Sorry @vstinner, I had trouble checking out the |
|
GH-18956 is a backport of this pull request to the 3.8 branch. |
|
|
PyDescr_NewMethod() and PyCFunction_NewEx() now include the method
name in the SystemError "bad call flags" error message to ease debug.
https://bugs.python.org/issue39884