Aymeric Augustin
af9082c302
Fix signature of asyncio.create_connection. ( #2756 )
...
* local_addr and server_hostname are optional and default to None.
* If sock is given, none of host, port, family, proto, flags and
local_addr should be specified.
2019-02-23 10:04:15 -08:00
Aymeric Augustin
503cbb97a3
Fix signature of asyncio.create_server. ( #2763 )
...
* host may be None to bind to all interfaces.
* If sock is given, host and port shouldn't be specified.
2019-02-09 15:45:09 +01:00
Diogo Magalhães Martins
f4aed1fd40
Fixing type for asyncio.StreamWriter reader init parameter ( #2719 )
...
Closes #2718
2018-12-28 17:56:38 +01:00
Jelle Zijlstra
46ab77eb20
loop argument to asyncio.ensure_future is Optional ( #2708 )
...
The default value is None: https://github.com/python/cpython/blob/master/Lib/asyncio/tasks.py#L616 .
2018-12-20 15:24:03 -08:00
Andrew Svetlov
b9be76c255
Task.current_task() and Task.all_tasks() have an optional loop parameter ( #2690 )
2018-12-12 13:18:18 -08:00
Sander Voerman
1b24d80087
Add get_loop() to asyncio.Future [Python 3.7] ( #2680 )
2018-12-09 21:37:37 +01:00
Summon528
9c45638650
Fix return annotation for asyncio.as_completed() ( #2600 )
2018-11-19 09:35:22 +01:00
Andrew Svetlov
07bc1c9997
Fix return annotation for loop.call_later() and loop.call_at() ( #2559 )
2018-10-26 14:15:32 +02:00
Sebastian Rittau
006a79220f
Flake8 fixes ( #2549 )
...
* Fix over-indented continuation lines
* Fix under-indented continuation lines
* Fix whitespace around default operator problems
* Limit line lengths
* Fix inconsistent files
2018-10-24 07:20:53 -07:00
Andrew Svetlov
d43d8a2884
loop argument for set_event_loop() is optional, it can be None ( #2525 )
2018-10-18 14:24:54 +02:00
Sebastian Rittau
60548f122f
AbstractEventLoop exception handler is optional ( #2446 )
...
Closes #1616
* get_exception_handler() is only available in 3.5
2018-09-11 08:26:57 -07:00
Zsolt Dollenstein
5ed39dd8ce
bring protocols.pyi more inline with documentation ( #2421 )
2018-08-31 13:56:57 +02:00
Yusuke Miyazaki
9a01b817f7
Add sockets attribute to asyncio.events.AbstractServer ( #2364 )
2018-08-07 10:03:14 -07:00
Hynek Schlawack
7bdf4655e0
Add missing asyncio 3.7 top-level functions ( #2320 )
2018-07-20 08:10:52 -07:00
Linda_pp
0f8e0ad661
Add missing slow_callback_duration attribute to AbstractEventLoop ( #2340 )
2018-07-18 21:57:46 -07:00
Yusuke Miyazaki
5bb58af6c8
Use float instead of Union[int, float] ( #2308 )
2018-07-09 19:02:03 -07:00
Sebastian Rittau
2a36b4cf01
Move asyncio from 3.4 to 3 ( #2307 )
2018-07-03 09:06:04 -07:00