Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

bpo-36974: Fix GDB integration#13665

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
encukou merged 1 commit intopython:masterfromencukou:pep590
May 29, 2019
Merged

Conversation

@encukou
Copy link
Member

@encukouencukou commentedMay 29, 2019
edited by bedevere-bot
Loading

buildbot fix for#13185

As it changes the way functions are called, the PEP 590 implementation
skipped the functions that the GDB integration is looking for
(by name) to find function calls.

Looking for the new helpercfunction_call_varargs should fix buildbots.

The changed frame nuber in test_gdb is due to there being fewer
C calls when calling a built-in funciton/method.

https://bugs.python.org/issue36974

As it changes the way functions are called, the PEP 590 implementationskipped the functions that the GDB integration is looking for(by name) to find function calls.Looking for the new helper `cfunction_call_varargs` hopefully fixes thetests, and thus buildbots.The changed frame nuber in test_gdb is due to there being fewerC calls when calling a built-in method.
@jdemeyer
Copy link
Contributor

Could you change this comment:

        # Tested function must not be defined with METH_NOARGS or METH_O,        # otherwise call_function() doesn't call PyCFunction_Call()

@encukou
Copy link
MemberAuthor

encukou commentedMay 29, 2019
edited
Loading

I'm planning a follow-up with a better fix; I'll change the comment there. This is a quick patch to fix the buildbots.

@encukouencukou merged commitfecb75c intopython:masterMay 29, 2019
@encukouencukou deleted the pep590 branchMay 29, 2019 20:45
@jdemeyer
Copy link
Contributor

Thanks a lot (assuming that this actually fixes the buildbots)!

@encukou
Copy link
MemberAuthor

It dit! 🎉

And#13668 is that follow-up.

DinoV pushed a commit to DinoV/cpython that referenced this pull requestJan 14, 2020
As it changes the way functions are called, the PEP 590 implementationskipped the functions that the GDB integration is looking for(by name) to find function calls.Looking for the new helper `cfunction_call_varargs` hopefully fixes thetests, and thus buildbots.The changed frame nuber in test_gdb is due to there being fewerC calls when calling a built-in method.
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

No reviews

Assignees

No one assigned

Labels

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

4 participants

@encukou@jdemeyer@the-knights-who-say-ni@bedevere-bot

[8]ページ先頭

©2009-2025 Movatter.jp