New submission from Andrew Svetlov <andrew.svet...@gmail.com>:
Selector-based event loops returns `_SelectorDatagramTransport` which inherits `asyncio.Transport` instead of `asyncio.DatagramTransport`. isinstance(transp, asyncio.DatagramTransport) fails. It doesn't affect the actual execution since `transp.sendto()` and `transp.error_received()` are correctly implemented. The bug doesn't affect Windows proactor-based implementation. The fix is relatively easy, a champion is welcome! ---------- components: asyncio messages: 409309 nosy: asvetlov, yselivanov priority: normal severity: normal status: open title: Wrong base class for transport returned by loop.create_datagram_endpoint() versions: Python 3.10, Python 3.11, Python 3.8, Python 3.9 _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue46194> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com