[New-bugs-announce] [issue44948] DeprecationWarning: Using ioctl() method
Thomas Trummer
report at bugs.python.org
Wed Aug 18 10:16:49 EDT 2021
New submission from Thomas Trummer <th.trummer at gmail.com>:
DeprecationWarning: Using ioctl() method on sockets returned from get_extra_info('socket') will be prohibited in asyncio 3.9. Please report your use case to bugs.python.org.
Use case:
def connection_made(self, transport: asyncio.BaseTransport) -> None:
sock = transport.get_extra_info('socket') # type: socket.socket
sock.ioctl(SIO_UDP_CONNRESET, False)
Releated: https://bugs.python.org/issue44743
----------
components: Windows, asyncio
messages: 399845
nosy: Thomas Trummer, asvetlov, paul.moore, steve.dower, tim.golden, yselivanov, zach.ware
priority: normal
severity: normal
status: open
title: DeprecationWarning: Using ioctl() method
versions: Python 3.9
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue44948>
_______________________________________
More information about the New-bugs-announce
mailing list