Skip to content

feat: add python itertools harvest 1#607

Merged
kvz merged 3 commits intomainfrom
feat/python-itertools-harvest-1
Mar 27, 2026
Merged

feat: add python itertools harvest 1#607
kvz merged 3 commits intomainfrom
feat/python-itertools-harvest-1

Conversation

@kvz
Copy link
Copy Markdown
Collaborator

@kvz kvz commented Mar 27, 2026

Summary

  • add the first parity-friendly python/itertools batch
  • teach Python parity translation to materialize iterator outputs for itertools functions
  • update generated tests, rosetta mappings, API/type snapshots, and website pages

Functions

  • accumulate
  • batched
  • chain
  • combinations
  • combinations_with_replacement
  • compress
  • islice
  • pairwise
  • permutations
  • product
  • zip_longest

Validation

  • corepack yarn exec vitest run test/util/python-itertools-harvest-1.vitest.ts
  • corepack yarn build:tests
  • corepack yarn exec vitest run test/generated/python/itertools/*.vitest.ts
  • corepack yarn test:parity python/itertools/accumulate python/itertools/batched python/itertools/chain python/itertools/combinations python/itertools/combinations_with_replacement python/itertools/compress python/itertools/islice python/itertools/pairwise python/itertools/permutations python/itertools/product python/itertools/zip_longest --no-cache
  • corepack yarn website:verify
  • corepack yarn check (all visible subchecks green; known silent tail afterward)

@kvz kvz merged commit d56afdd into main Mar 27, 2026
5 checks passed
@kvz kvz deleted the feat/python-itertools-harvest-1 branch March 27, 2026 15:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant