◐ Shell
clean mode source ↗

gh-101765: Fix SystemError / segmentation fault in iter `__reduce__` when internal access of `builtins.__dict__` exhausts the iterator by ionite34 · Pull Request #101769 · python/cpython

@ionite34

JelleZijlstra

JelleZijlstra

…o potential side effects

@ionite34 ionite34 marked this pull request as ready for review

February 10, 2023 07:29

carljm

- Added some comments for dict del usages
- Switched to `__builtin__` instead of conditional `__dict__` access
- Use kwargs for improved readability

ionite34 added a commit to ionite34/cpython that referenced this pull request

Feb 25, 2023
…`__reduce__` when internal access of `builtins.__dict__` exhausts the iterator (pythonGH-101769).

(cherry picked from commit 54dfa14)

Co-authored-by: Ionite <dev@ionite.io>

ionite34 added a commit to ionite34/cpython that referenced this pull request

Feb 25, 2023
…`__reduce__` when internal access of `builtins.__dict__` exhausts the iterator (pythonGH-101769).

(cherry picked from commit 54dfa14)

Co-authored-by: Ionite <dev@ionite.io>

ionite34 added a commit to ionite34/cpython that referenced this pull request

Feb 25, 2023
…`__reduce__` when internal access of `builtins.__dict__` exhausts the iterator (pythonGH-101769).

(cherry picked from commit 54dfa14)

Co-authored-by: Ionite <dev@ionite.io>

JelleZijlstra pushed a commit that referenced this pull request

Feb 25, 2023
…uce__` when internal access of `builtins.__dict__` exhausts the iterator (GH-101769) (#102228)

(cherry picked from commit 54dfa14)

JelleZijlstra pushed a commit that referenced this pull request

Feb 25, 2023
…uce__` when internal access of `builtins.__dict__` exhausts the iterator (GH-101769) (#102229)

(cherry picked from commit 54dfa14)

kumaraditya303

JelleZijlstra added a commit to JelleZijlstra/cpython that referenced this pull request

Feb 25, 2023

This was referenced

Feb 26, 2023

JelleZijlstra added a commit to JelleZijlstra/cpython that referenced this pull request

Feb 26, 2023

JelleZijlstra added a commit to JelleZijlstra/cpython that referenced this pull request

Feb 26, 2023

JelleZijlstra pushed a commit to JelleZijlstra/cpython that referenced this pull request

Sep 10, 2024
…ce__` when internal access of `builtins.__dict__` exhausts the iterator (python#101769)