Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

test_itertools.py does not test infinite iterable foritertools.chain.from_iterable #93814

Closed
Assignees
rhettinger
Labels
testsTests in the Lib/test dirtype-bugAn unexpected behavior, bug, or error
@youknowone

Description

@youknowone

Bug report

itertools.chain.from_iterable is safe to use with infinite iterable, but no test exists.

example:

chain.from_iterable(repeat(range(5)))

Your environment

  • CPython versions tested on:
    3.10.4 and currentmain branch

  • Operating system and architecture:
    N/A

Metadata

Metadata

Assignees

Labels

testsTests in the Lib/test dirtype-bugAn unexpected behavior, bug, or error

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions


    [8]ページ先頭

    ©2009-2025 Movatter.jp