-
-
Notifications
You must be signed in to change notification settings - Fork 33.2k
gh-125038: Iterator checks are added for some FOR_ITER bytecodes, crash fixed #125051
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
Closed
efimov-mikhail
wants to merge
42
commits into
python:main
from
efimov-mikhail:sigsegv_fix_in_iterators
Closed
Changes from 5 commits
Commits
Show all changes
42 commits
Select commit
Hold shift + click to select a range
523f765
gh-125038: PyIter_Checks are added for some FOR_ITER bytecodes
efimov-mikhail e316cb4
gh-125038: Test on gi_frame.f_locals change for a generator
efimov-mikhail 09df328
gh-125038: News entry is added.
efimov-mikhail d3d5b39
gh-125038: Raise TypeError on such case instead of silently stopping …
efimov-mikhail c353cf1
gh-125038: Test improvement, assertRaisesRegex is used
efimov-mikhail 1941ced
Update Misc/NEWS.d/next/Core_and_Builtins/2024-10-07-19-26-50.gh-issu…
efimov-mikhail 3e0b12f
gh-125038: Tests on generator modifying through gi_frame.f_locals are…
efimov-mikhail 25e3a80
Merge branch 'sigsegv_fix_in_iterators' of github.com:efimov-mikhail/…
efimov-mikhail d0fa5ff
gh-124502: Add PyUnicode_Equal() function (#124504)
vstinner 2e541a7
gh-125072: Add label for assignment expressions; update tracked secti…
emilyemorehouse 4e25977
Docs: make a tutorial example more precise (#125066)
nedbat c214282
gh-90102: Remove isatty call during regular open (#124922)
cmaloney 7788578
gh-70870: Clarify dual usage of 'free variable' (#122545)
ncoghlan c0a9b19
gh-69998: Fix decoding error in locale.nl_langinfo() (GH-124963)
serhiy-storchaka fdf1648
bpo-34206: Improve docs and test coverage for pre-init functions (#8023)
ncoghlan 7c34a23
gh-53203: Improve tests for strptime() (GH-125090)
serhiy-storchaka 0056888
gh-123378: fix a crash in `UnicodeError.__str__` (#124935)
picnixz c4812df
gh-123961: Convert _curses to a multi-phase init module (PEP-489) (#1…
picnixz 148e3fe
gh-90102: Fix pyio _isatty_open_only() (#125089)
cmaloney 753347e
gh-75898: make use of thread more explicit in the "Socket Programming…
zuo 6002315
gh-121404: typo fix in compile.c: MATADATA -> METADATA (#125101)
efimov-mikhail 8e98322
Doc: Improve description of ``GET_LEN`` opcode (#114583)
Eclips4 6b6d27f
gh-112433 add versionadded for `ctypes.Structure._align_` (#125087)
monkeyman192 b926c8e
gh-125096: Don't import _pyrepl in site if PYTHON_BASIC_REPL (#125097)
vstinner fc4dc44
gh-115999: Stop the world when invalidating function versions (#124997)
mpage 8eec02d
gh-124502: Optimize unicode_eq() (#125105)
vstinner bd716e0
gh-117721: use PyMutex in `_thread.lock` (#125110)
kumaraditya303 b2764a9
gh-125084: Resolve paths in generator common code (GH-125085)
cmaloney 320d1ab
gh-125063: Emit slices as constants in the bytecode compiler (#125064)
mdboom bbe670b
gh-124832: Add a note to indicate that `datetime.now` may return the …
spacemanspiff2007 7a4b55c
Misc improvements to the itertools docs (gh-125147)
rhettinger 3b823fd
gh-116110: remove extra processing for the __signature__ attribute (G…
skirpichev 0dcbd9b
GH-124478: Cleanup argparse documentation (#124877)
savannahostrowski 5f4da9b
gh-123849: Fix test_sqlite3.test_table_dump when foreign keys are ena…
felixxm 7c10a29
gh-124612: Use ghcr.io/python/autoconf instead of public image (#124657)
corona10 8192c63
gh-101552: Allow pydoc to display signatures in source format (#124669)
JelleZijlstra 6996d4e
docs: in venv table use executable name (GH-124315)
musvaage 0d0e6f3
gh-124502: Remove _PyUnicode_EQ() function (#125114)
vstinner 376a1d7
gh-125150: Skip test_fma_zero_result on NetBSD due to IEE 754-2008 im…
furkanonder fbb424b
gh-124969: Fix locale.nl_langinfo(locale.ALT_DIGITS) (GH-124974)
serhiy-storchaka 2c98a00
gh-107562: make_ssl_certs.py: produce test certificates that expire f…
kanavin 8da7ac6
gh-125038: Little change in test, readability slightly improved
efimov-mikhail File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 2 additions & 0 deletions
2
Misc/NEWS.d/next/Core_and_Builtins/2024-10-07-19-26-50.gh-issue-125038.ffSLCz.rst
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
Fix SIGSEGV in genexpr after direct changes on gi_frame.f_locals. Patch by | ||
Mikhail Efimov. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.