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 of_GET_LEN to int#133345

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 23 commits intopython:mainfromZheaoli:manjusaka/get-len
May 20, 2025
Merged
Changes from1 commit
Commits
Show all changes
23 commits
Select commitHold shift + click to select a range
cabe8f1
gh-131798: JIT: Narrow the return type of _GET_LEN to int
ZheaoliMay 3, 2025
1f8a607
Add news
ZheaoliMay 3, 2025
f2f71d9
Fix typo
ZheaoliMay 3, 2025
1662b47
Fix review idea
ZheaoliMay 8, 2025
52ce698
Fix review idea
ZheaoliMay 8, 2025
b1640ed
Fix review idea
ZheaoliMay 8, 2025
cf17d92
fix review idea
ZheaoliMay 8, 2025
c401539
fix review idea
ZheaoliMay 10, 2025
619a846
fix review idea
ZheaoliMay 10, 2025
9adefc3
fix review idea
ZheaoliMay 10, 2025
9c6efcb
fix review idea
ZheaoliMay 10, 2025
69b929b
Merge branch 'main' into manjusaka/get-len
ZheaoliMay 20, 2025
d1e3a2b
fix review idea
ZheaoliMay 20, 2025
e0e3745
fix review idea
ZheaoliMay 20, 2025
81c4996
fix review idea
ZheaoliMay 20, 2025
93e1e86
fix review idea
ZheaoliMay 20, 2025
6b5282f
fix review idea
ZheaoliMay 20, 2025
2eefeb3
fix review idea
ZheaoliMay 20, 2025
9c58f2c
fix review idea
ZheaoliMay 20, 2025
f9822e9
fix review idea
ZheaoliMay 20, 2025
6a06aff
fix review idea
ZheaoliMay 20, 2025
6d92614
fix review idea
ZheaoliMay 20, 2025
5cfbad4
format code
ZheaoliMay 20, 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
fix review idea
Signed-off-by: Manjusaka <me@manjusaka.me>
  • Loading branch information
@Zheaoli
Zheaoli committedMay 20, 2025
commit2eefeb329a5cee1894ffb2a8cb96f06a56584f28
4 changes: 2 additions & 2 deletionsLib/test/test_capi/test_opt.py
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -1927,11 +1927,11 @@ def testfunc(n):

def test_get_len_with_const_tuple(self):
def testfunc(n):
x =""
x =0.0
for _ in range(n):
match (1, 2, 3, 4):
case [_, _, _, _]:
x +="1"
x +=1.0
return x
res, ex = self._run_with_optimizer(testfunc, TIER2_THRESHOLD)
self.assertEqual(len(res), TIER2_THRESHOLD)
Expand Down
Loading

[8]ページ先頭

©2009-2025 Movatter.jp