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-141999: handle KeyboardInterrupt when sampling and print the result#142000

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

Open
yihong0618 wants to merge3 commits intopython:main
base:main
Choose a base branch
Loading
fromyihong0618:hy/handle_ctrl_c_in_sampling

Conversation

@yihong0618
Copy link
Contributor

@yihong0618yihong0618 commentedNov 27, 2025
edited by bedevere-appbot
Loading

Signed-off-by: yihong0618 <zouzou0208@gmail.com>
@pablogsal
Copy link
Member

@yihong0618 Thanks a lot for the PR! I think we are going to need a small test. Let me know if you are having problems or you have questions and I can try to help with it

Signed-off-by: yihong0618 <zouzou0208@gmail.com>
@yihong0618
Copy link
ContributorAuthor

yihong0618 commentedNov 28, 2025
edited
Loading

@yihong0618 Thanks a lot for the PR! I think we are going to need a small test. Let me know if you are having problems or you have questions and I can try to help with it

Thank you and test added

without this patch test

image

with this patch this test

(.venv) ➜  cpython git:(hy/handle_ctrl_c_in_sampling) ./python.exe -m unittest test.test_profiling.test_sampling_profiler.test_profiler...................----------------------------------------------------------------------Ran 19 tests in 0.009sOK

Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

@pablogsalpablogsalAwaiting requested review from pablogsal

Assignees

No one assigned

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

3 participants

@yihong0618@pablogsal@gpshead

[8]ページ先頭

©2009-2025 Movatter.jp