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

gh-111997: Fix argument count for LINE event and clarify type of argument counts.#119179

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
iritkatriel merged 2 commits intopython:mainfromscoder:gh111997_fix_line_event_main
May 26, 2024

Conversation

scoder
Copy link
Contributor

@scoderscoder commentedMay 19, 2024
edited by bedevere-appbot
Loading

According to the documentation, the LINE event does not pass the offset but only the line number:

https://docs.python.org/3.13/library/sys.monitoring.html#callback-function-arguments

It's unclear whether thePyMonitoring_FireLineEvent() function should be passed an offset then, but it's probably ok for consistency with the otherPyMonitoring_Fire* functions.

@scoder
Copy link
ContributorAuthor

@iritkatriel@markshannon CI passes, ready for review.

@miss-islington-app
Copy link

Thanks@scoder for the PR, and@iritkatriel for merging it 🌮🎉.. I'm working now to backport this PR to: 3.13.
🐍🍒⛏🤖

miss-islington pushed a commit to miss-islington/cpython that referenced this pull requestMay 26, 2024
…f argument counts. (pythonGH-119179)(cherry picked from commit70b07aa)Co-authored-by: scoder <stefan_ml@behnel.de>
@bedevere-app
Copy link

GH-119575 is a backport of this pull request to the3.13 branch.

@bedevere-appbedevere-appbot removed the needs backport to 3.13bugs and security fixes labelMay 26, 2024
scoder added a commit that referenced this pull requestMay 26, 2024
…of argument counts. (GH-119179) (GH-119575)gh-111997: Fix argument count for LINE event and clarify type of argument counts. (GH-119179)(cherry picked from commit70b07aa)Co-authored-by: scoder <stefan_ml@behnel.de>
estyxx pushed a commit to estyxx/cpython that referenced this pull requestJul 17, 2024
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers

@iritkatrieliritkatrieliritkatriel approved these changes

@markshannonmarkshannonAwaiting requested review from markshannon

Assignees
No one assigned
Labels
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

2 participants
@scoder@iritkatriel

[8]ページ先頭

©2009-2025 Movatter.jp