Shahar Naveh
3ed8c91fef
Update test/support to 3.14.5 ( #7896 )
...
* Update `test/support` to 3.14.5
* Adjuat test markers
* Add `test_set` to env polluting tests
2026-05-18 00:23:06 +09:00
Jeong, YunWon
6f1edf3b26
Remove static cache for builtins iter/reversed reduce
...
- Replace static_cell! cached builtins_iter/builtins_reversed with
per-call vm.builtins.get_attr lookups to support runtime builtins
mutation (CPython issue #101765 )
- Refactor PositionIterInternal::reduce to take func, active, and
empty callbacks; resolve builtins outside the lock to prevent
deadlock from reentrant iterator access
- Add __reduce__ and fix reentrant next() in PyCallableIterator
- Remove expectedFailure from test_reverse_iterator_picking and
test_reduce_mutating_builtins_iter
2026-02-10 00:49:12 +09:00
CPython Developers
177837de6b
Update test_iter from v3.14.3
2026-02-10 00:48:22 +09:00
Gyubong
e372be1b1b
Fix bool_eq argument order of _membership_iter_search for compatability with cpython
2022-09-13 21:45:26 +09:00
Jeong YunWon
2410c56e2e
mark failing tests from test_iter
2022-08-15 04:24:58 +09:00
CPython Developers
f3a8fdbb4a
Update test_iter* from CPython 3.10.6
2022-08-15 04:24:58 +09:00
Jeong YunWon
3c5e13f7f1
Merge pull request #3461 from Byeongjee/dict-iterator-reduce
...
Implement reduce() for dict iterators
2021-11-30 14:34:32 +09:00
Dean Li
5ee4fb899b
test: use os_helper
2021-11-28 20:51:32 +08:00
Byeongjee Kang
91489352c5
Implement reduce() for dict iterators
...
This fixes test_iter_dict, test_iterator_pickling, test_itemiterator_pickling,
and test_valuesiterator_pickling.
2021-11-27 23:57:39 +09:00
Jeong YunWon
913b78ca44
Revert "Merge pull request #3433 from deantvv/test-update"
...
This reverts commit 9fa5c5ac66 , reversing
changes made to e7fa32c687 .
2021-11-17 17:06:51 +09:00
Dean Li
49a5805d11
test: use os_helper
2021-11-13 02:18:33 +00:00
jfh
52149d0e70
Add remaining methods to sequence iterator.
2021-08-19 13:46:14 +03:00
Snowapril
4632972de4
Implement missing Iterator & ReverseIterator and its methods ( #2906 )
...
Implement missing methods of string iterators.
2021-08-18 21:23:03 +03:00
jfh
f3a074ba90
Adds reduce, length_hint and set_state to range iterators.
2021-08-05 23:56:01 +03:00
jfh
0c764291fd
Add __length_hint__, __setstate__, __reduce__ for tuple iterator.
2021-07-21 22:55:54 +03:00
jfh
95ba82bd54
Fix iteration issues, pickling by marking iterators as exhausted.
2021-06-14 19:32:22 +03:00
Padraic Fanning
4971ad1b0a
Unskip test in test_iter
2021-02-25 21:31:30 -05:00
Padraic Fanning
6e6e16a95a
Explain test_free_after_iterating skip
2021-02-07 15:49:42 -05:00
Noah
916bb4cf1c
Fix some other tests
2020-11-06 17:37:52 -06:00
Yi Hyunjoon
499a86e2c2
unexpected success on local
2020-08-15 18:53:18 +09:00
Ben Lewis
020c4c9fd6
Un-mark test_new_style_iter_class, as it now passes.
2020-07-27 12:42:44 +12:00
Noah
e65a5edc34
Unmark expectedFailures from test_iter
2020-05-04 13:08:13 -05:00
Noah
e83c23bf60
Unmark expectedFailures
2020-04-08 11:35:36 -05:00
Jeong YunWon
8580ff7d3b
mark failing tests in test_iter.py
2020-04-07 14:37:01 +09:00
CPython dev
6de255bc73
Lib/test/test_iter.py from CPython 3.8.2
2020-04-07 14:37:01 +09:00