David Fisher
c48d66f28a
Fix asyncio.coroutine signature
2016-02-24 11:35:42 -08:00
David Soria Parra
70ddf02d21
Use relative imports in asyncio.tasks and asyncio.futures
2016-02-19 19:52:54 -08:00
David Soria Parra
3223a693d5
Add type information for asyncio.subprocess
2016-02-19 19:52:36 -08:00
David Soria Parra
bce32b0382
Add type information for asyncio.streams
2016-02-19 19:52:36 -08:00
David Soria Parra
3910b79361
Add type information for asyncio.protocols
2016-02-10 23:12:31 -08:00
David Soria Parra
23ecee29d3
Add type information for asyncio.transports
2016-02-10 23:12:31 -08:00
David Soria Parra
0f5c38a2ce
Add type information for asyncio.events.AbstractServer
...
Add the appropriate types for AbstractServer in asyncio.events. wait_closed() is
a couroutine, however in the implementation of AbstractServer not marked
as such. We are adding the couroutine defintion here anyway, as we do want
to make it typeable as a coroutine if necessary.
2016-02-10 22:09:22 -08:00
David Soria Parra
4d0a9e6d49
Add type information for asyncio.coroutines
2016-02-10 22:09:22 -08:00
David Fisher
1a10134d54
Fix up uses of Future as an argument in asyncio
...
Most functions which can take a Future can take Generators as well.
2016-01-19 16:53:52 -08:00
Guido van Rossum
a080d6cee5
Make Future stub resemble reality better.
2016-01-19 14:23:09 -08:00
Guido van Rossum
8c2118bace
Move contents of builtins/* to stdlib/*. This simplifies finding stubs.
2016-01-12 12:53:18 -08:00
Guido van Rossum
107104dfe5
Fix type annotation syntax used in asyncio/futures.pyi.
2015-12-04 11:43:45 -08:00
Roy Williams
7f22db0492
Add Async classes to typing stub.
2015-12-01 23:36:19 -08:00
Matthias Kramm
94c9ce8fd0
Consistently use '= ...' for optional parameters.
2015-11-09 13:55:02 -08:00
Matthias Kramm
4fe8915d44
Add missing '-> None' to all __init__ methods.
2015-11-09 10:25:11 -08:00
Matthias Kramm
d2a3d4a4ed
Use explicit "# type: str" instead of '' shortcut.
2015-11-09 07:59:24 -08:00
Ben Longbons
c2f892a409
Fix stubs that assumed reexport without as
2015-10-19 20:02:39 -07:00
Vita Smid
4d39065569
Change Queue.put return type to Future[None]
2015-10-12 08:15:41 -07:00
Vita Smid
b90372f226
Fixed Queue.get and Queue.put return types.
2015-10-12 08:09:22 -07:00
Matthias Kramm
337abed05a
add (overwrite with) mypy stubs, if available
2015-09-30 09:59:44 -07:00