Skip to content

3.13.0a6 breaks asyncio.Stream.readuntil with bytearray separator #117722

Closed
@bmerry

Description

@bmerry

Bug report

Bug description:

As discussed in #81322, the change I made in #16429 breaks asyncio.Stream.readuntil when used with iterable buffer-object types other than bytes (such as bytearray) because they're incorrectly interpreted as an iterable of separators.

I've got a patch ready; I'm just filing this bug to be able to reference it.

CPython versions tested on:

3.13, CPython main branch

Operating systems tested on:

Linux

Linked PRs

Metadata

Metadata

Assignees

No one assigned

    Labels

    type-bugAn unexpected behavior, bug, or error

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions