New submission from Thomas Trummer <th.trum...@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 <rep...@bugs.python.org>
<https://bugs.python.org/issue44948>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to