FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

gh-143055: Fix crash in AST unparser when unparsing dict comprehension unpacking by StanFromIreland · Pull Request #145556 · python/cpython · GitHub

Repository navigation

gh-143055: Fix crash in AST unparser when unparsing dict comprehension unpacking - #145556

Merged
JelleZijlstra merged 5 commits into
python:mainfrom
StanFromIreland:dict-comp-unparse
Mar 9, 2026
Merged

JelleZijlstra merged 5 commits into
python:mainfrom
StanFromIreland:dict-comp-unparse

Conversation

StanFromIreland commented Mar 5, 2026 •
edited by bedevere-app Bot
Loading

Copy link
Copy Markdown
Member
>>> from __future__ import annotations
... 
... spam: {**x for x in ()}
... 
Segmentation fault (core dumped)

Found by OSS Fuzz in #489790200.

This comment was marked as outdated.

StanFromIreland requested a review from gpshead March 6, 2026 15:38
Comment thread Lib/test/test_unparse.py
JelleZijlstra merged commit 255e79f into python:main Mar 9, 2026
54 checks passed
StanFromIreland deleted the dict-comp-unparse branch March 9, 2026 17:37
ljfp pushed a commit to ljfp/cpython that referenced this pull request Apr 25, 2026
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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants


Back | FazBrowse Home | New Git URL