Skip to content

asyncio.Protocol.data_received should also accept bytearray alongside bytes #12606

Open
@jonathanslenders

Description

@jonathanslenders

Asyncio's _ProactorReadPipeTransport can also feed bytearray objects in the data_received callback from asyncio.Protocol.

Shall I make a PR with a fix for this?

Related cpython issue: python/cpython#123496 - I'm not sure whether or not it should be fixed in the stdlib instead.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions