30 Commits

Author SHA1 Message Date
Shahar Naveh
3e1aa7cbe6 Update test_itertools.py from 3.14.4 (#7618) 2026-04-17 20:06:48 +09:00
Shahar Naveh
e3edba398e Update test_itertools.py from 3.14.3 (#7130) 2026-02-14 20:00:17 +09:00
Jeong, YunWon
db01a1d653 Remove pickle from itertools 2026-01-17 19:21:11 +09:00
Terry Tianlin Luan
609dbb1439 Downgraded skips in tests (#6716)
* Downgraded skips in tests

* Fixed failing tests

* Fixed test_ftplib + test_socket + test_ssl + test_threaded_import failures

* Removed comments about which tests are run in which environment

* Addressed PR comments

* Annotated skips on failing tests

* Removed unneeded tests

* Removed unneeded sys import from test_ftplib

* Added annotation to test_ftplib

* Readded skipIf to test_cleanup_with_symlink_modes with a more general ENV_POLLUTING_TESTS_WINDOWS

* Addressed PR comments

* Made changes to minimize diff in PR

* Apply suggestion from @youknowone

---------

Co-authored-by: Jeong, YunWon <69878+youknowone@users.noreply.github.com>
2026-01-15 21:43:22 +09:00
Shahar Naveh
da71b92dd3 Pickle warning for itertools (#6129) 2025-09-07 16:10:22 +09:00
Shahar Naveh
8b6e1e398b Update test_itertools.py to 3.13.7 (#6122)
* Update `test_itertools.py` to 3.13.7

* Apply patch where test name was changed

* Fix some failing tests
2025-09-02 20:19:57 +09:00
Jiseok CHOI
8c4c63673e fix(itertools): add re-entrancy guard to tee object (#5931)
* fix(itertools): add re-entrancy guard to tee object

* apply feedback PyRwLock -> PyMutex & remove AtomicCell<bool> lock field
2025-07-10 18:11:24 +09:00
Shahar Naveh
18fdf85510 Fix itertools.pairwise (#5884)
* Fix pairwise hangs

* Don't skip failing tests;)

* Drop lock of read, not write
2025-07-02 21:10:24 +09:00
Hunter Harloff
f6569313d7 Move test_itertools to CPython 3.12 Spec 2024-04-06 19:14:58 +09:00
Amuthan Mannar
9241e2e5d5 [VM] Object pickling implementation for product object (python itertools) (#5089)
* Implemented __reduce__, __setstate__ in product object
2023-10-12 20:12:33 +09:00
Ivan Gromov
cbaed46fb4 Implement itertools.accumulate.__reduce__ and __setstate__ (#4434)
Co-authored-by: DimitrisJim <d.f.hilliard@gmail.com>
2023-06-12 19:26:03 +09:00
Andrey Maltsev
30718a3be5 Update test_itertools.py from Cpython v3.11.2 (#4836)
* Update test_itertools.py from Cpython v3.11.2
2023-04-04 17:40:23 +03:00
Dan Näsman
78586f0275 Chain reduce (#4232) 2022-10-21 15:04:25 +09:00
Dan Nasman
f6e423c479 add reduce and setstate for zip_longest 2022-10-19 20:59:05 +03:00
dvermd
164e343517 add takewhile.__reduce__ 2022-10-01 15:31:03 +02:00
jeffwang0516
e5437e4514 remove expected failures for related unittest 2022-08-02 01:15:09 +08:00
CPython developers
c737713c9e Update test_itertools from CPython 3.10.5 2022-07-18 02:32:42 +09:00
siontama
60e3ce2dd8 Add basetype flag to itertools module 2022-07-16 00:58:42 +09:00
Padraic Fanning
9de8274780 Unmark passing test 2022-07-03 14:39:36 -04:00
Alexander Scharinger
50dba866fc test: itertools.compress 2022-06-16 10:59:25 +02:00
Alexander Scharinger
4f87f875fc Add filterfalse.__reduce__ 2022-05-26 00:07:17 +02:00
Hyun Park
dfa4bdc695 add filter.__reduce__ (#3732) 2022-05-21 19:08:20 +09:00
Padraic Fanning
d5aa68d7b5 Clean up skips in test_itertools 2021-10-15 00:09:50 +09:00
Jim Fasarakis-Hilliard
8a967e84c6 Fix arguments for islice. 3 args are allowed. 2021-07-28 11:35:43 +09:00
jfh
ab382dbc84 Add fixes for itertools.repeat. 2021-07-25 22:13:27 +03:00
rickygao
52242d4b5d copy the latest test_itertools.py from CPython 2021-02-17 12:56:46 +08:00
rickygao
c0e8b8d8bc follow the latest signature itertools.accumulate(iterable[, func, *, initial=None]) 2021-02-16 14:37:06 +08:00
clemado1
fb18a8d66e Fix panic in itertools pruduct 2020-08-20 11:52:31 +09:00
Ben Lewis
2d6a1af8e2 Fix/mark itertools tests. 2020-07-27 12:42:44 +12:00
Ben Lewis
611b4b4907 Add test_itertools.py from CPython 3.8.3. 2020-07-27 12:39:33 +12:00