New submission from Andrew Svetlov <>:

New buffered transports was introduced in Python 3.7.
Actual transport implementation (get_buffer() or data_received()) is determined 
in transport constructor.

Protocol can be changed by `set_protocol()` method, the implementation should 
be reselected again.

Both selector-based and proactor transports are affected.

components: asyncio
messages: 311598
nosy: asvetlov, yselivanov
priority: normal
severity: normal
status: open
title: Choose protocol implementation on transport.set_protocol()
versions: Python 3.7, Python 3.8

Python tracker <>
Python-bugs-list mailing list

Reply via email to