GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GH-131798: Optimize `_GUARD_TOS_SLICE` by Sacul0457 · Pull Request #144470 · python/cpython

Conversation

@Sacul0457

@Sacul0457 Sacul0457 commented Feb 4, 2026 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Contributor

Adds _GUARD_TOS_SLICE to the optimizer.
Thanks to @Fidget-Spinner for guiding me!

  • Issue: Better uop coverage in the JIT optimizer #131798

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
Sacul0457 added 4 commits February 4, 2026 19:35
@Sacul0457
add _GUARD_TOS_SLICE to optimizer_bytecodes
e6a0f2a
@Sacul0457
shift test function up
d2e98d7
@Sacul0457
add spacing between ops
41544e7
@Sacul0457
resize spacing between ops again
8fe5b12
@Sacul0457
Sacul0457 requested review from Fidget-Spinner, markshannon, savannahostrowski and tomasr8 as code owners February 4, 2026 12:15
@python-cla-bot

python-cla-bot Bot commented Feb 4, 2026 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown

All commit authors signed the Contributor License Agreement.

CLA signed

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@bedevere-app bedevere-app Bot added the awaiting review label Feb 4, 2026
@bedevere-app

bedevere-app Bot commented Feb 4, 2026

Copy link
Copy Markdown

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.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@blurb-it
📜🤖 Added by blurb_it.
1216b7c
@Sacul0457 Sacul0457 changed the title Optimize _GUARD_TOS_SLICE GH-131798: Optimize _GUARD_TOS_SLICE Feb 4, 2026
@bedevere-app bedevere-app Bot mentioned this pull request Feb 4, 2026
Better uop coverage in the JIT optimizer #131798
Open
Sacul0457 added 4 commits February 4, 2026 20:28
@Sacul0457
Fix formatting of _GUARD_TOS_SLICE in NEWS entry
5887eb8
@Sacul0457
Merge branch 'main' into Add-GUARD_TOS_SLICE
52395b2
@Sacul0457
Fix formatting and spacing
286d192
@Sacul0457
Accidentally added a space
e29c087
@Sacul0457
Sacul0457 marked this pull request as draft February 6, 2026 13:28
@bedevere-app bedevere-app Bot removed the awaiting review label Feb 6, 2026
@Sacul0457
regenerate files
35c2ede
Fidget-Spinner
Fidget-Spinner approved these changes Feb 6, 2026
View reviewed changes

@Fidget-Spinner Fidget-Spinner left a comment

Copy link
Copy Markdown
Member

There was a problem hiding this comment.

Choose a reason for hiding this comment

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

Sorry for the wait, this LGTM.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

Sacul0457 reacted with heart emoji
All reactions
  • ❤️ 1 reaction
@bedevere-app bedevere-app Bot added the awaiting merge label Feb 6, 2026
@Sacul0457
Sacul0457 marked this pull request as ready for review February 7, 2026 00:08
@bedevere-app bedevere-app Bot added awaiting review and removed awaiting merge labels Feb 7, 2026
@Fidget-Spinner
Fidget-Spinner merged commit cfeede8 into python:main Feb 8, 2026
71 checks passed

Uh oh!

There was an error while loading. Please reload this page.

@bedevere-app bedevere-app Bot removed the awaiting review label Feb 8, 2026
thunder-coding pushed a commit to thunder-coding/cpython that referenced this pull request Feb 15, 2026
@Sacul0457 @thunder-coding
pythonGH-131798: Optimize _GUARD_TOS_SLICE (pythonGH-144470)
033ad7a
@Sacul0457
Sacul0457 deleted the Add-GUARD_TOS_SLICE branch March 17, 2026 17:24
ljfp pushed a commit to ljfp/cpython that referenced this pull request Apr 25, 2026
@Sacul0457 @ljfp
pythonGH-131798: Optimize _GUARD_TOS_SLICE (pythonGH-144470)
d88b6b3
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@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

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

2 participants

@Sacul0457 @Fidget-Spinner
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.
You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.