This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: DeprecationWarning: Using ioctl() method
Type: Stage:
Components: asyncio, Windows Versions: Python 3.9
process
Status: open Resolution:
Dependencies: Superseder:
Assigned To: Nosy List: Thomas Trummer, asvetlov, paul.moore, steve.dower, tim.golden, yselivanov, zach.ware
Priority: normal Keywords:

Created on 2021-08-18 14:16 by Thomas Trummer, last changed 2022-04-11 14:59 by admin.

Messages (1)
msg399845 - (view) Author: Thomas Trummer (Thomas Trummer) Date: 2021-08-18 14:16
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
History
Date User Action Args
2022-04-11 14:59:48adminsetgithub: 89111
2021-08-18 14:16:49Thomas Trummercreate