Skip to content

Functions in Itertools #95770

Closed as not planned
Closed as not planned
@NeginGit

Description

@NeginGit

Feature or enhancement

Introducing a function argument to itertools functions like "product" to stop the iterations on demand.

Pitch

I encountered several situations when some functions in itertools module, such as products or combinations, took either so long or so much memory to finish. I think introducing an argument function to stop the inner iterations on demand would be so helpful.

Previous discussion

Metadata

Metadata

Assignees

No one assigned

    Labels

    pendingThe issue will be closed if no feedback is providedtype-featureA feature request or enhancement

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions