Commit Graph

12 Commits

Author SHA1 Message Date
Daisuke Miyakawa
b33c2c6158 Introduce multiprocessing.freeze_support() (#749) 2016-12-07 13:30:14 -08:00
Ryan C. Thompson
f36d7a3cd3 Multiprocessing fixes (#687)
* Fix type declarations for multiprocessing.pool.ThreadPool

The existing incomplete type declarations were replaced by a copy of
multiprocessing.Pool's declarations, suitably modified.

Fixes #683.

* Change iterable type to Iterable[Iterable[Any]] in starmap

multiprocessing.Pool and multiprocessing.pool.ThreadPool have starmap
and related methods, where the iterable argument is expected to yield
iterables. The type declarations now reflect this.
2016-11-12 17:31:54 -08:00
Elazar Gershuni
252a772b67 fix self in ssl, unittest and multiprocessing/managers (#644) 2016-10-30 12:20:03 -07:00
Dima Gerasimov
58d864d726 Add __enter__ and __exit__ to Pool stub (#642) 2016-10-30 10:18:51 -07:00
Alex Jurkiewicz
8d10e885d1 [review] Add multiprocessing.Pool (#523) 2016-10-12 16:44:37 -07:00
Valérian Rousset
231ebbefaa add types to multiprocessing.process (#463) 2016-08-10 11:01:54 -07:00
David Euresti
141318c056 Add RemoteError and current_process to multiprocessing (#445) 2016-08-05 07:19:46 -07:00
Max Payton
a619491060 Add full class definitions for Process, Queue, and Lock (#265)
These should be all the methods one can call on those classes
2016-06-04 18:31:48 -07:00
Yasushi Saito
7389610937 Added type declaration for multiprocessing.pool.ThreadPool and AsyncResult. (#143) 2016-04-12 14:42:15 -07:00
Anirudha Bose
09eeeea9f7 Add stub for multiprocessing.cpu_count() 2016-03-05 05:17:04 +05:30
Matthias Kramm
94c9ce8fd0 Consistently use '= ...' for optional parameters. 2015-11-09 13:55:02 -08:00
Matthias Kramm
337abed05a add (overwrite with) mypy stubs, if available 2015-09-30 09:59:44 -07:00