Maxim Kurnikov
b80b2e4b98
make IMapIterator a subclass of Iterator ( #2814 )
2019-03-05 10:15:25 +01:00
Juan Gonzalez
c18b75b2e6
Make mypy aware of IMapUnorderedIterator ( #2701 )
2018-12-20 19:41:58 -08:00
Sebastian Rittau
cd75801aa5
Replace non-ellipsis default arguments ( #2550 )
2018-11-20 07:35:06 -08: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
Jelle Zijlstra
8084dc1c1f
Fix abstract classes in 2.7 ( #2247 )
...
Part of #1476 .
2018-06-17 17:21:17 +01:00
Michael J. Sullivan
2ba90a65c0
Remove __all__ = ... from stubs ( #2161 )
...
The presence of a __all__ causes everything to not get picked up by
import *, which among other things breaks the new six.moves stubs.
2018-05-24 19:00:07 -07:00
Martin DeMello
2935017157
Add multiprocessing.dummy pyi files ( #2059 )
2018-04-18 19:20:01 -07:00
Tuomas Suutari
4da20cb8b7
multiprocessing: Fix timeout args of AsyncResult methods ( #1984 )
...
The timeout argument of wait and get methods of AsyncResult accepts also
None so fix the type specification to include Optional.
Accepting None is not an implementation detail as it's clearly
documented too:
https://docs.python.org/2/library/multiprocessing.html#multiprocessing.pool.AsyncResult
https://docs.python.org/3/library/multiprocessing.html#multiprocessing.pool.AsyncResult
2018-03-24 08:15:39 -07:00
Takuya Akiba
7e169a29c2
Add multiprocessing.pool to Python 2 stub ( #1932 )
2018-02-28 11:22:11 -08:00
David Zbarsky
7f3e01550b
Add py2 stubs for multiprocessing.Queue ( #1829 )
...
This is basically the same API as in Python 3.
2018-01-18 00:06:15 +00:00
Emily Morehouse
b6d08b81a3
#1286 Remove header comments from stubs ( #1292 )
...
- Updates documentation related to previously required comment headers.
- Removes all comment headers from stubs
- Occasionally included a header for stubs that were noted to be incomplete or contained todo's.
2017-05-22 15:14:15 -07:00
Roy Williams
3d79158db5
Add return type to multiprocessesing.cpu_count for Python 2.
...
Python 3 already had the correct type, it was missing in Python 2.
2016-12-19 23:51:21 -08:00
Lukasz Langa
fe0e3744cc
Fixing flake8 E261 errors
2016-12-19 22:09:35 -08:00
Guido van Rossum
cb97bb54c0
Move 2.7 to 2 ( #635 )
...
Closes #579 .
2016-10-26 16:24:49 -07:00