This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: Choose protocol implementation on transport.set_protocol()
Type: behavior Stage: resolved
Components: asyncio Versions: Python 3.8, Python 3.7
process
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 2022-04-11 14:58 by admin. 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 https://bugs.python.org/issue33654
History
Date User Action Args
2022-04-11 14:58:57adminsetgithub: 76943
2018-05-28 17:50:47yselivanovsetstatus: open -> closed
type: behavior
messages: + msg317896

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