Skip to content

Upgrading itertools 0.12 to 0.13

Breaking0.12.1 → 0.13.0Breaking6New5Changed21Other2

BreakingUpgrade verdict

6 breaking changes.

  • Removed implementation of DoubleEndedIterator for ConsTuples.
  • Removed deprecated repeat_call, Itertools::{foreach, step, map_results, fold_results}.
  • Removed TakeWhileInclusive::new.
  • Made MultiProduct fused and fixed on an empty iterator.
Top 3 of 6 that need code or config changes
Breaking6
Removed implementation of DoubleEndedIterator for ConsTuples.
DoubleEndedIteratorConsTuples
Removed deprecated repeat_call, Itertools::{foreach, step, map_results, fold_results}.
Removed TakeWhileInclusive::new.
TakeWhileInclusive::new
Made MultiProduct fused and fixed on an empty iterator.
MultiProduct
Changed iproduct! to return tuples for maxi one iterator too.
iproduct!
Changed PutBack::put_back to return the old value.
PutBack::put_back