Skip to content
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

GH-91389: Fix dis position information for CACHEs #93663

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

brandtbucher
Copy link
Member

@brandtbucher brandtbucher commented Jun 10, 2022

We currently don't advance the co_positions iterator for CACHE entries, which can lead to incorrect positions being reported for later instructions. Also, the positions for cache entries should be populated, not None.

Also, don't show a "pretty" argrepr for cache entries unless they're actually being used by a quickened instruction. This cuts down on visual clutter when show_caches=True, adaptive=False, or for instructionss we've completely unquickened.

@brandtbucher brandtbucher requested a review from pablogsal Jun 10, 2022
@brandtbucher brandtbucher added type-bug stdlib needs backport to 3.11 labels Jun 10, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
awaiting core review needs backport to 3.11 stdlib type-bug
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants