-
New functions
iter_suppress
(thanks to jaraco, pochmann, and rhettinger)filter_map
(thanks to struktured)classify_unique
(thanks to haukex)totient
(from the itertools docs)reshape
(from the itertools docs)
-
Changes to existing functions
factor
,iter_index
,sieve
, andunique_justseen
were updated to match the itertools docsfirst
was was optimized (thanks to pochmann)takewhile_inclusive
was was refactored (thanks to eltoder)combination_with_replacement_index
was was optimized (thanks to elliotwutingfeng and rhettinger)nth_permutation
,nth_combination_with_replacement
,combination_index
, andcombination_with_replacement_index
were optimized (thanks to rhettinger)batched
now accepts astrict
argument (adapted from itertools docs)time_limited
was improved for Windows (thanks to haukex)
-
Other changes
- Several typing updates were made (thanks to obaltian and ilai-deutel)
- Some documentation issues were fixed (thanks to F-park, DimitriPapadopoulos, peterbygrave, shuuji3, eltoder, and homeworkprod)