mirror of https://github.com/MagicStack/uvloop.git
dd812a4f00
Some rules (for now at least): * We dup sockets that are passed to loop.create_server, loop.create_connection, etc. Since those sockets can be closed outside of uvloop, it's just safer to dup. * We wrap Transport's FDs into Python sockets when get_extra_info('socket') is called. We don't dup them in this case (they get detached with the transport they were created for is closed). * If an FD from an active Transport is passed to loop.add_writer, loop.add_reader, loop.remove_writer or loop.remove_reader we now raise a RuntimeError (as does asyncio 3.6). |
||
---|---|---|
.. | ||
certs | ||
test_aiohttp.py | ||
test_base.py | ||
test_cython.py | ||
test_dns.py | ||
test_executors.py | ||
test_futures.py | ||
test_pipes.py | ||
test_process.py | ||
test_signals.py | ||
test_sockets.py | ||
test_tasks.py | ||
test_tcp.py | ||
test_testbase.py | ||
test_udp.py | ||
test_unix.py |