New submission from Yury Selivanov <yseliva...@gmail.com>: 1. asyncio.BufferedProtocol is a new Python 3.7 *provisional* API.
2. asyncio.Transport.set_protocol() doesn't support switching between Protocol and BufferedProtocol. 3. Because of (2), another *new* Python 3.7 API "loop.start_tls" doesn't support asyncio.BufferedProtocol at all. The fix is straightforward and *does not* affect any existing APIs in Python 3.6 and lower. Since the patch adjusts the APIs a little bit, it would be great to merge this in 3.7.0. However, since only the provisional APIs are changed, this can be theoretically merged to 3.7.1 too. It would be nice, though, to get this into 3.7.0. Ned, your thoughts? ---------- assignee: yselivanov components: asyncio messages: 317743 nosy: asvetlov, ned.deily, yselivanov priority: high severity: normal status: open title: asyncio: transports don't support switching between Protocol and BufferedProtocol versions: Python 3.7, Python 3.8 _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue33654> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com