GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | |||||||||
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | |||||||||
GeezerVison is showing github.com — gh-137288: Fix bug where boolean expressions are not associated with the correct exception handler by iritkatriel · Pull Request #137310 · python/cpython Conversation
|
|
This looks reasonable to me but I don't know this code enough to review it. However, the fix will require bumping the PYC magic number in 3.14.0rc2 :( Heads up, @hugovk |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
The code changes look good to me. I think this needs a separate pyc magic number bump for the backport. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
This reverts commit af2128c.
|
Thanks @iritkatriel for the PR 🌮🎉.. I'm working now to backport this PR to: 3.14. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
Sorry, @iritkatriel, I could not cleanly backport this to |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
…ociated with the correct exception handler (pythonGH-137310). (cherry picked from commit 1f2026b) Co-authored-by: Irit Katriel <[email protected]>
|
GH-137427 is a backport of this pull request to the 3.14 branch. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
I was pointed at this PR with a message saying "a fix for 3.14.0rc2 may require telling projects that already cut a release to redo that". On closer inspection, that doesn't seem to be the case. The ABI doesn't change here, and packages on PyPI shouldn't contain |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
I know that Fedora builds .pycs, installs them as root so users can't update them, and the more locked-down settings generate security alerts when users attempt to overwrite system files. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
Ah of course, distros and other deployment methods that install with root/elevated privileges, thanks @encukou. A bit of digging turns up #73700, which seems like it wasn't much fun for affected redistributors. There hopefully won't be many distros that distribute packages before the final 3.14.0 release; I believe Fedora is fairly exceptional in doing that. Same for sysadmins installing on multi-user systems, that should be rare pre-3.14.0-final. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
…d with the correct exception handler (GH-137310). (#137427) Co-authored-by: Irit Katriel <[email protected]> Co-authored-by: Petr Viktorin <[email protected]>
…ociated with the correct exception handler (pythonGH-137310). (python#137427) Co-authored-by: Irit Katriel <[email protected]> Co-authored-by: Petr Viktorin <[email protected]>
|
FYI We'll do an early rc2 with this and add an rc3 next month: |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
… with the correct exception handler (python#137310)
…ociated with the correct exception handler (pythonGH-137310). (python#137427) Co-authored-by: Irit Katriel <[email protected]> Co-authored-by: Petr Viktorin <[email protected]>
There was an error while loading. Please reload this page.
Successfully merging this pull request may close these issues.
Python implicit boolean conversion in logical operations bypasses try/except on 3.14.0rc1
There was an error while loading. Please reload this page.