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

gh-149122: Fix segfault in compiler when certain builtin functions are passed a coroutine as arg by iritkatriel · Pull Request #149138 · python/cpython · GitHub

Repository navigation

gh-149122: Fix segfault in compiler when certain builtin functions are passed a coroutine as arg - #149138

Merged
iritkatriel merged 3 commits into
python:mainfrom
iritkatriel:gh-149122
Apr 29, 2026
Merged

iritkatriel merged 3 commits into
python:mainfrom
iritkatriel:gh-149122

Conversation

iritkatriel commented Apr 29, 2026 •
edited by bedevere-app Bot
Loading

Copy link
Copy Markdown
Member

Fixes #149122.

Disables the builtin-on-genexpr optimisation when the genexpr is a coroutine.

Copy link
Copy Markdown
Contributor

I think this deserves a bug news entry.

iritkatriel enabled auto-merge (squash) April 29, 2026 13:05
iritkatriel merged commit 16f292e into python:main Apr 29, 2026
54 checks passed

Copy link
Copy Markdown

Thanks @iritkatriel for the PR 🌮🎉.. I'm working now to backport this PR to: 3.14.
🐍🍒⛏🤖

bedevere-app Bot commented Apr 29, 2026

Copy link
Copy Markdown

GH-149151 is a backport of this pull request to the 3.14 branch.

bedevere-app Bot removed the needs backport to 3.14 bugs and security fixes label Apr 29, 2026
iritkatriel added a commit that referenced this pull request Apr 29, 2026
…ions are passed a coroutine as arg (GH-149138) (#149151)

gh-149122: Fix segfault in compiler when certain builtin functions are passed a coroutine as arg (GH-149138)
(cherry picked from commit 16f292e)

Co-authored-by: Irit Katriel <1055913+iritkatriel@users.noreply.github.com>
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

release-blocker type-crash A hard crash of the interpreter, possibly with a core dump

Development

Successfully merging this pull request may close these issues.

Segfault with async generator expressions

2 participants


Back | FazBrowse Home | New Git URL