FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

[3.13] gh-142315: Don't pass the "real path" of Pdb script target to system functions (GH-142371) by miss-islington · Pull Request #142498 · python/cpython · GitHub

Repository navigation

[3.13] gh-142315: Don't pass the "real path" of Pdb script target to system functions (GH-142371) - #142498

Merged
jaraco merged 1 commit into
python:3.13from
miss-islington:backport-d716e3b-3.13
Dec 16, 2025
Merged

jaraco merged 1 commit into
python:3.13from
miss-islington:backport-d716e3b-3.13

Conversation

miss-islington commented Dec 10, 2025 •
edited by bedevere-app Bot
Loading

Copy link
Copy Markdown
Contributor
  • Pick target depending on preconditions

  • Clarify the news fragment

  • Add test capturing missed expectation.

  • Add more idiomatic safe realpath helper

  • Restore logic where existance and directoriness are checked on realpath.

  • Link GH issue to test.

  • Extract a function to check the target. Remove the _safe_realpath, now no longer needed.

  • Extract method for replacing sys_path, and isolate realpath usage there.

  • Revert "Extract method for replacing sys_path, and isolate realpath usage there."

This reverts commit 855aac3.

  • Restore _safe_realpath.

(cherry picked from commit d716e3b)

Co-authored-by: Bartosz Sławecki bartosz@ilikepython.com
Co-authored-by: Jason R. Coombs jaraco@jaraco.com

…ystem functions (pythonGH-142371)

* Pick target depending on preconditions

* Clarify the news fragment

* Add test capturing missed expectation.

* Add more idiomatic safe realpath helper

* Restore logic where existance and directoriness are checked on realpath.

* Link GH issue to test.

* Extract a function to check the target. Remove the _safe_realpath, now no longer needed.

* Extract method for replacing sys_path, and isolate realpath usage there.

* Revert "Extract method for replacing sys_path, and isolate realpath usage there."

This reverts commit 855aac3.

* Restore _safe_realpath.

---------
(cherry picked from commit d716e3b)

Co-authored-by: Bartosz Sławecki <bartosz@ilikepython.com>
Co-authored-by: Jason R. Coombs <jaraco@jaraco.com>

Copy link
Copy Markdown
Member

@jaraco

jaraco merged commit fb54747 into python:3.13 Dec 16, 2025
44 checks passed
miss-islington deleted the backport-d716e3b-3.13 branch January 2, 2026 18:48
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
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


Back | FazBrowse Home | New Git URL