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-122445: populate only modified fields in __static_attributes__#122446

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
iritkatriel merged 14 commits intopython:mainfromiritkatriel:gh-122445
Aug 2, 2024
Merged
Changes from1 commit
Commits
Show all changes
14 commits
Select commitHold shift + click to select a range
d173987
gh-122445: include optimized method calls in __static_attributes__
iritkatrielJul 30, 2024
0cf16a8
add test, news, tweak
iritkatrielJul 30, 2024
090bc88
tweak
iritkatrielJul 30, 2024
a617a84
whitespace
iritkatrielJul 30, 2024
8a629d4
Update Misc/NEWS.d/next/Core and Builtins/2024-07-30-11-41-35.gh-issu…
iritkatrielJul 30, 2024
f7f8a62
remove new test. Add only non-loads to __static_attributes__
iritkatrielJul 31, 2024
5fe70e5
update doc
iritkatrielJul 31, 2024
3f22bb2
update whatsnew
iritkatrielJul 31, 2024
eb495ae
update news
iritkatrielJul 31, 2024
14f498e
whitespace
iritkatrielJul 31, 2024
43a09ba
whitespace
iritkatrielJul 31, 2024
9c2284d
enhance test
iritkatrielJul 31, 2024
e55d157
review comments
iritkatrielAug 2, 2024
fc0c10a
Merge remote-tracking branch 'upstream/main' into gh-122445
iritkatrielAug 2, 2024
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
enhance test
  • Loading branch information
@iritkatriel
iritkatriel committedJul 31, 2024
commit9c2284dd62bce943b074e7b537870cadb3f2761f
3 changes: 3 additions & 0 deletionsLib/test/test_compile.py
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -2095,6 +2095,9 @@ def test_basic(self):
class C:
def f(self):
self.a = self.b = 42
# read fields are not included
self.f()
self.arr[3]

self.assertIsInstance(C.__static_attributes__, tuple)
self.assertEqual(sorted(C.__static_attributes__), ['a', 'b'])
Expand Down

[8]ページ先頭

©2009-2025 Movatter.jp