[Python-checkins] peps: Add set_default_executor().
guido.van.rossum
python-checkins at python.org
Mon Dec 17 05:02:00 CET 2012
http://hg.python.org/peps/rev/cbd52096d415
changeset: 4617:cbd52096d415
user: Guido van Rossum <guido at google.com>
date: Sun Dec 16 20:01:54 2012 -0800
summary:
Add set_default_executor().
files:
pep-3156.txt | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/pep-3156.txt b/pep-3156.txt
--- a/pep-3156.txt
+++ b/pep-3156.txt
@@ -217,6 +217,9 @@
executor? Should be be able to set its thread count? Shoul we even
have this method?)
+- ``set_default_executor(executor)``. Set the default executor used
+ by ``run_in_executor()``.
+
- ``getaddrinfo(host, port, family=0, type=0, proto=0, flags=0)``.
Similar to the ``socket.getaddrinfo()`` function but returns a
Future. The Future's result on success will be a list of the same
--
Repository URL: http://hg.python.org/peps
More information about the Python-checkins
mailing list