Skip to content

Conversation

@miss-islington
Copy link
Contributor

@miss-islington miss-islington commented Dec 10, 2025

  • 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 [email protected]
Co-authored-by: Jason R. Coombs [email protected]

…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 <[email protected]>
Co-authored-by: Jason R. Coombs <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants