-
-
Notifications
You must be signed in to change notification settings - Fork 30.9k
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
gh-106242: Make ntpath.realpath errors consistent with abspath when there are embedded nulls #108248
Conversation
zooba
commented
Aug 21, 2023
•
edited by bedevere-bot
Loading
edited by bedevere-bot
- Issue: os.path.normpath truncates input on null bytes in 3.11, but not 3.10 #106242
…when there are embedded nulls
mention Windows and the former incorrect ValueError.
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.
I tweaked the news entry.
Thanks @zooba for the PR 🌮🎉.. I'm working now to backport this PR to: 3.11, 3.12. |
GH-108251 is a backport of this pull request to the 3.12 branch. |
…when there are embedded nulls (pythonGH-108248) * pythongh-106242: Make ntpath.realpath errors consistent with abspath when there are embedded nulls * Update 2023-08-22-00-36-57.gh-issue-106242.q24ITw.rst mention Windows and the former incorrect ValueError. --------- (cherry picked from commit de33b5c) Co-authored-by: Steve Dower <steve.dower@python.org> Co-authored-by: Gregory P. Smith <greg@krypto.org>
GH-108252 is a backport of this pull request to the 3.11 branch. |
…when there are embedded nulls (pythonGH-108248) * pythongh-106242: Make ntpath.realpath errors consistent with abspath when there are embedded nulls * Update 2023-08-22-00-36-57.gh-issue-106242.q24ITw.rst mention Windows and the former incorrect ValueError. --------- (cherry picked from commit de33b5c) Co-authored-by: Steve Dower <steve.dower@python.org> Co-authored-by: Gregory P. Smith <greg@krypto.org>
|
… when there are embedded nulls (GH-108248) (#108251) gh-106242: Make ntpath.realpath errors consistent with abspath when there are embedded nulls (GH-108248) * gh-106242: Make ntpath.realpath errors consistent with abspath when there are embedded nulls * Update 2023-08-22-00-36-57.gh-issue-106242.q24ITw.rst mention Windows and the former incorrect ValueError. --------- (cherry picked from commit de33b5c) Co-authored-by: Steve Dower <steve.dower@python.org> Co-authored-by: Gregory P. Smith <greg@krypto.org>