8000 Empty `zip` objects error on `__len__` · Issue #834 · evhub/coconut · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
Empty zip objects error on __len__ #834
Closed
@kg583

Description

@kg583

Getting the length of an empty zip object (e.g. len(zip())) raises

ValueError: min() iterable argument is empty

since the length is computed as the minimum length among the iterators, but no default value is set.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0