Uh oh!
There was an error while loading. Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork 33.9k
gh-103578: Fix pdb reading code with non-utf8 encoding#103581
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 our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Uh oh!
There was an error while loading. Please reload this page.
Conversation
gaogaotiantian commented Apr 16, 2023 • edited by bedevere-bot
Loading Uh oh!
There was an error while loading. Please reload this page.
edited by bedevere-bot
Uh oh!
There was an error while loading. Please reload this page.
hauntsaninja left a comment • edited
Loading Uh oh!
There was an error while loading. Please reload this page.
edited
Uh oh!
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for this PR!
We should probably mention in the news entry that because we use io.open_code, we'll now trigger auditing events hooks
gaogaotiantian commented Apr 24, 2023
|
hauntsaninja commented Apr 24, 2023 • edited
Loading Uh oh!
There was an error while loading. Please reload this page.
edited
Uh oh!
There was an error while loading. Please reload this page.
gaogaotiantian commented Apr 24, 2023
So it seems like changing it to |
hauntsaninja commented Apr 24, 2023 • edited
Loading Uh oh!
There was an error while loading. Please reload this page.
edited
Uh oh!
There was an error while loading. Please reload this page.
Yup! I think can't hurt to mention it in the news entry, since it is a (good) change in behaviour and one that seems potentially noteworthy. |
gaogaotiantian commented Apr 24, 2023
I updated the news entry. Let me know if you think that requires extra polish! |
hauntsaninja left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks great, thanks!
miss-islington commented Apr 26, 2023
Thanks @gaogaotiantian for the PR, and @hauntsaninja for merging it 🌮🎉.. I'm working now to backport this PR to: 3.11. |
bedevere-bot commented Apr 26, 2023
GH-103867 is a backport of this pull request to the 3.11 branch. |
…103581) `pdb` should use `io.open_code` to open code to avoid encoding issue.
miss-islington commented Apr 27, 2023
Thanks @gaogaotiantian for the PR, and @hauntsaninja for merging it 🌮🎉.. I'm working now to backport this PR to: 3.8. |
miss-islington commented Apr 27, 2023
Thanks @gaogaotiantian for the PR, and @hauntsaninja for merging it 🌮🎉.. I'm working now to backport this PR to: 3.9. |
miss-islington commented Apr 27, 2023
Thanks @gaogaotiantian for the PR, and @hauntsaninja for merging it 🌮🎉.. I'm working now to backport this PR to: 3.10. |
miss-islington commented Apr 27, 2023
Sorry @gaogaotiantian and @hauntsaninja, I had trouble checking out the |
miss-islington commented Apr 27, 2023
Sorry, @gaogaotiantian and @hauntsaninja, I could not cleanly backport this to |
miss-islington commented Apr 27, 2023
Sorry @gaogaotiantian and @hauntsaninja, I had trouble checking out the |
miss-islington commented Apr 27, 2023
Thanks @gaogaotiantian for the PR, and @hauntsaninja for merging it 🌮🎉.. I'm working now to backport this PR to: 3.10. |
miss-islington commented Apr 27, 2023
Sorry, @gaogaotiantian and @hauntsaninja, I could not cleanly backport this to |
zooba commented Apr 27, 2023
No backport needed - this was fine in 3.8-3.10 and was regressed in 3.11. |
pdbshould useio.open_codeto open code to avoid encoding issue.