Skip to content

gh-144648: Improve libproc usage in _remote_debugging#144649

Merged
pablogsal merged 2 commits into
python:mainfrom
jmroot:_remote_debugging-libproc
Feb 10, 2026
Merged

gh-144648: Improve libproc usage in _remote_debugging#144649
pablogsal merged 2 commits into
python:mainfrom
jmroot:_remote_debugging-libproc

Conversation

@jmroot

@jmroot jmroot commented Feb 10, 2026

Copy link
Copy Markdown
Contributor

Add a missing include and use proc_listpids rather than proc_listallpids, since it is functionally identical and more widely implemented.

Add a missing include and use proc_listpids rather than
proc_listallpids, since it is functionally identical and more widely
implemented.
@sergey-miryanov

Copy link
Copy Markdown
Contributor

Since this change allow to use functionality on more OSes I believe we should add a NEWS entry.

@pablogsal pablogsal left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Thanks for the improvement !

@pablogsal pablogsal enabled auto-merge (squash) February 10, 2026 08:10
@pablogsal pablogsal merged commit d2d2459 into python:main Feb 10, 2026
51 checks passed
@jmroot jmroot deleted the _remote_debugging-libproc branch February 10, 2026 08:48
thunder-coding pushed a commit to thunder-coding/cpython that referenced this pull request Feb 15, 2026
ljfp pushed a commit to ljfp/cpython that referenced this pull request Apr 25, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants