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-91153: Fix bytearray holding a reference to its internal buffer when calling into potentially mutating __index__ methods by bast0006 · Pull Request #132379 · python/cpython Conversation
|
|
All commit authors signed the Contributor License Agreement. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
Most changes to Python require a NEWS entry. Add one using the blurb_it web app or the blurb command-line tool. If this change has little impact on Python users, wait for a maintainer to apply the |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
|
I've signed the CLA. Let me know if a NEWS entry is required. I'm not sure it is, especially since there was already a previous change that this is a fix to. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
Can you add a NEWS entry please? It's still worth to mention that we fixed more crashes.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
|
Done |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
3c1de75 to
d3d1974
Compare
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
Co-authored-by: Bénédikt Tran <[email protected]>
| self._testlimitedcapi.sequence_setitem(b, 0, Boom()) | ||
|
|
||
| def test_mutating_index_inbounds(self): | ||
| # See gh-91153 |
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
Could you add a brief description of the issue?
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
Done
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
5853b5c to
50b7998
Compare
50b7998 to
4b7ec9c
Compare
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
2 NITS and I'll merge.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
…when `ind.__index__` has side-effects (pythonGH-132379) (cherry picked from commit 5e1e21d) Co-authored-by: Bast <[email protected]> Co-authored-by: Bénédikt Tran <[email protected]>
|
Sorry, @bast0006 and @picnixz, I could not cleanly backport this to |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
GH-136581 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.
… ...)` when `ind.__index__` has side-effects (pythonGH-132379) (cherry picked from commit 5e1e21d) Co-authored-by: Bast <[email protected]> Co-authored-by: Bénédikt Tran <[email protected]>
|
GH-136582 is a backport of this pull request to the 3.13 branch. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
… when `ind.__index__` has side-effects (GH-132379) (#136582) (cherry picked from commit 5e1e21d) Co-authored-by: Bast <[email protected]>
… when `ind.__index__` has side-effects (GH-132379) (#136581) gh-91153: prevent a crash in `bytearray.__setitem__(ind, ...)` when `ind.__index__` has side-effects (GH-132379) (cherry picked from commit 5e1e21d) Co-authored-by: Bast <[email protected]> Co-authored-by: Bénédikt Tran <[email protected]>
…when `ind.__index__` has side-effects (python#132379) Co-authored-by: Bénédikt Tran <[email protected]>
…when `ind.__index__` has side-effects (python#132379) Co-authored-by: Bénédikt Tran <[email protected]>
…when `ind.__index__` has side-effects (python#132379) Co-authored-by: Bénédikt Tran <[email protected]>
…when `ind.__index__` has side-effects (python#132379) Co-authored-by: Bénédikt Tran <[email protected]>
… ...)` when `ind.__index__` has side-effects (pythonGH-132379) (python#136581) pythongh-91153: prevent a crash in `bytearray.__setitem__(ind, ...)` when `ind.__index__` has side-effects (pythonGH-132379) (cherry picked from commit 5e1e21d) Co-authored-by: Bast <[email protected]> Co-authored-by: Bénédikt Tran <[email protected]>
There was an error while loading. Please reload this page.
Successfully merging this pull request may close these issues.
There was an error while loading. Please reload this page.