[New-bugs-announce] [issue41246] IOCP Proactor same socket overlapped callbacks

Tony report at bugs.python.org
Wed Jul 8 13:20:08 EDT 2020


New submission from Tony <tony.solomonik at gmail.com>:

In IocpProactor I saw that the callbacks to the functions recv, recv_into, recvfrom, sendto, send and sendfile all give the same callback function for when the overlapped operation is done.

I just wanted cleaner code so I made a static function inside the class that I give to each of these functions as the overlapped callbacks.

----------
messages: 373324
nosy: tontinton
priority: normal
severity: normal
status: open
title: IOCP Proactor same socket overlapped callbacks

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue41246>
_______________________________________


More information about the New-bugs-announce mailing list