Skip to content

Conversation

@kamilturek
Copy link
Contributor

@kamilturek kamilturek commented Aug 4, 2023

runpy.run_path did not decode path-like objects to string, and instead stored
them directly in the runned module globals, potentially as non-str objects.
Renamed variable from `decoded_path` as it longer makes sense in this context
since the decoding was extracted out of the fuction.
@kamilturek kamilturek marked this pull request as ready for review August 4, 2023 19:17
Copy link
Member

@FFY00 FFY00 left a comment

Choose a reason for hiding this comment

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

@kamilturek thanks for this PR, and sorry for the time it took to get someone to review it!

I had a look and it looks good, I don't really have any notes. Good job 😅

@FFY00 FFY00 merged commit d457345 into python:main Jan 15, 2024
@FFY00
Copy link
Member

FFY00 commented Jan 15, 2024

@pablogsal @Yhg1s I think this qualifies to be backported as a bugfix, but I could understand if someone doesn't feel the same way. Could you weigh in as the RM for 3.11 and 3.12? Thanks!

@pablogsal
Copy link
Member

I am happy back porting it to 3.11. @Yhg1s WDYT?

@kamilturek kamilturek deleted the gh-99437 branch January 15, 2024 21:56
@FFY00
Copy link
Member

FFY00 commented Feb 1, 2024

Will add the backport labels, we can revert back if unwanted.

@FFY00 FFY00 added needs backport to 3.11 only security fixes needs backport to 3.12 only security fixes labels Feb 1, 2024
@miss-islington-app
Copy link

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

@miss-islington-app
Copy link

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

@miss-islington-app
Copy link

Sorry, @kamilturek and @FFY00, I could not cleanly backport this to 3.11 due to a conflict.
Please backport using cherry_picker on command line.

cherry_picker d457345bbc6414db0443819290b04a9a4333313d 3.11

@hugovk
Copy link
Member

hugovk commented Aug 9, 2024

I think it's fine to backport to 3.12, it's still accepting bug fixes. I've resolved the merge conflict in #114838.

Since Pablo's acceptance for 3.11, 3.11 is now only accepting security fixes, so let's not backport to 3.11.

@hugovk hugovk removed the needs backport to 3.11 only security fixes label Aug 9, 2024
Kodiologist added a commit to Kodiologist/hy that referenced this pull request Sep 8, 2024
Kodiologist added a commit to Kodiologist/hy that referenced this pull request Sep 8, 2024
@terryjreedy terryjreedy removed the needs backport to 3.12 only security fixes label Feb 18, 2025
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.

runpy.run_path mishandles Path objects

6 participants