Title: Choose protocol implementation on transport.set_protocol()
Type: behavior Stage: resolved
Components: asyncio Versions: Python 3.8, Python 3.7
Status: closed Resolution: duplicate
Dependencies: Superseder:
Assigned To: Nosy List: asvetlov, yselivanov
Priority: normal Keywords:

Created on 2018-02-04 11:55 by asvetlov, last changed 2018-05-28 17:50 by yselivanov. This issue is now closed.

Messages (2)
msg311598 - (view) Author: Andrew Svetlov (asvetlov) * (Python committer) Date: 2018-02-04 11:55
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.
msg317896 - (view) Author: Yury Selivanov (yselivanov) * (Python committer) Date: 2018-05-28 17:50
Closing in favour of
Date User Action Args
2018-05-28 17:50:47yselivanovsetstatus: open -> closed
type: behavior
messages: + msg317896

resolution: duplicate
stage: resolved
2018-02-04 11:55:23asvetlovcreate