You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 66d2e95
Browse filesBrowse the repository at this point in the historyBrowse files
Return the dict reverse iterator types from __reversed__
The __reversed__ methods of dict, dict_keys, dict_items and
dict_values wrapped the reverse storage iterator with the forward
factories, so reversed(d) was a dict_keyiterator and
type(reversed(d)) is type(iter(d)) held. The PDictReverse*Iterator
types were still defined and registered with IteratorBuiltins, but
nothing created them since afc1f12 dropped the reverse factories.
Restore createDictReverse{Key,Item,Value}Iterator in their former
shape and use them at the four sites, as CPython builds these
iterators from the PyDictRevIter*_Type types.
Signed-off-by: Jeongseop Lim <jeongseop_lim@korea.ac.kr>
Copy file name to clipboardExpand all lines: graalpython/com.oracle.graal.python/src/com/oracle/graal/python/builtins/objects/dict/DictValuesBuiltins.java
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,5 @@
1
1
/*
2
-
* Copyright (c) 2017, 2025, Oracle and/or its affiliates.
2
+
* Copyright (c) 2017, 2026, Oracle and/or its affiliates.
3
3
* Copyright (c) 2013, Regents of the University of California
Copy file name to clipboardExpand all lines: graalpython/com.oracle.graal.python/src/com/oracle/graal/python/builtins/objects/dict/DictViewBuiltins.java
0 commit comments