Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

gh-131798: JIT: Narrow the return type ofisinstance for some known arguments#133172

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
brandtbucher merged 17 commits intopython:mainfromtomasr8:jit-isinstance
May 19, 2025
Merged
Changes from1 commit
Commits
Show all changes
17 commits
Select commitHold shift + click to select a range
59b37f7
Optimize CALL_ISINSTANCE
tomasr8Apr 26, 2025
a81c02e
Add news entry
tomasr8Apr 26, 2025
b1eb6a0
Optimize for subclasses as well
tomasr8Apr 29, 2025
c42172d
Merge branch 'main' into jit-isinstance
tomasr8May 8, 2025
770f7ed
Regen cases
tomasr8May 8, 2025
3e86810
Add a comment
tomasr8May 8, 2025
0820a3c
Merge remote-tracking branch 'upstream/main' into jit-isinstance
tomasr8May 8, 2025
60d21fa
Simplify
tomasr8May 8, 2025
38370a3
Add a metaclass test
tomasr8May 8, 2025
bb228eb
Improve test
tomasr8May 8, 2025
0ede9f3
Update comment
tomasr8May 9, 2025
3d0df4c
Mark some stackrefs as unused
tomasr8May 9, 2025
ce0cd38
Simplify even more
tomasr8May 9, 2025
20fd185
Simplify code
tomasr8May 19, 2025
62854fe
Merge branch 'main' into jit-isinstance
brandtbucherMay 19, 2025
f985963
make regen-cases
tomasr8May 19, 2025
27b1b43
Merge branch 'main' into jit-isinstance
tomasr8May 19, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
PrevPrevious commit
NextNext commit
Mark some stackrefs as unused
  • Loading branch information
@tomasr8
tomasr8 committedMay 9, 2025
commit3d0df4ca9af1eddbf6b9aac73d76f70015bc5222
2 changes: 1 addition & 1 deletionPython/optimizer_bytecodes.c
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -890,7 +890,7 @@ dummy_func(void) {
}
}

op(_CALL_ISINSTANCE, (callable, null, instance, cls -- res)) {
op(_CALL_ISINSTANCE, (unused, unused, instance, cls -- res)) {
// the result is always a bool, but sometimes we can
// narrow it down to True or False
res = sym_new_type(ctx, &PyBool_Type);
Expand Down

[8]ページ先頭

©2009-2025 Movatter.jp