◐ Shell
clean mode source ↗

gh-146388: Add null check for `sym_new(ctx)` in `make_bottom` by A0su · Pull Request #146389 · python/cpython

Conversation

@A0su

@A0su A0su commented

Mar 24, 2026

edited by bedevere-app Bot

Loading

@bedevere-app

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 skip news label instead.

@bedevere-app

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 skip news label instead.

@A0su A0su marked this pull request as draft

March 24, 2026 19:42

@bedevere-app

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 skip news label instead.

@A0su A0su marked this pull request as ready for review

March 25, 2026 01:58

aisk

aisk approved these changes Mar 26, 2026

@aisk

@A0su

@aisk, blurb added. Thanks for the review!

Fidget-Spinner

@@ -0,0 +1 @@
Add a null check for :func:`sym_new(ctx)` in :func:`make_bottom`

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This doesn't tell much. Can it be more descriptive please? Something like

Handle when JIT optimizer runs out of space when dealing with contradictions.

aisk

Co-authored-by: AN Long <aisk@users.noreply.github.com>

Fidget-Spinner

vstinner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. I'm not sure that the NEWS entry is worth it, it's a corner case which is unlikely to occur in practice, no?

vstinner

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

Apr 16, 2026

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

Apr 25, 2026

Reviewers

@aisk aisk aisk approved these changes

@vstinner vstinner vstinner approved these changes

@Fidget-Spinner Fidget-Spinner Fidget-Spinner approved these changes

@markshannon markshannon Awaiting requested review from markshannon markshannon is a code owner

@tomasr8 tomasr8 Awaiting requested review from tomasr8 tomasr8 is a code owner

@savannahostrowski savannahostrowski Awaiting requested review from savannahostrowski savannahostrowski is a code owner