[issue32762] Choose protocol implementation on transport.set_protocol()

2018-05-28 Thread Yury Selivanov
Yury Selivanov added the comment: Closing in favour of https://bugs.python.org/issue33654 -- resolution: -> duplicate stage: -> resolved status: open -> closed type: -> behavior ___ Python tracker

[issue32762] Choose protocol implementation on transport.set_protocol()

2018-02-04 Thread Andrew Svetlov
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