[Python-checkins] r81389 - peps/trunk/pep-3148.txt

brett.cannon python-checkins at python.org
Fri May 21 03:40:36 CEST 2010


Author: brett.cannon
Date: Fri May 21 03:40:36 2010
New Revision: 81389

Log:
Specify the package name.

Update from Brian Quinlan.


Modified:
   peps/trunk/pep-3148.txt

Modified: peps/trunk/pep-3148.txt
==============================================================================
--- peps/trunk/pep-3148.txt	(original)
+++ peps/trunk/pep-3148.txt	Fri May 21 03:40:36 2010
@@ -38,7 +38,7 @@
 
 ::
 
-    import futures
+    from concurrent import futures
     import math
 
     PRIMES = [
@@ -68,7 +68,7 @@
 
 ::
 
-    import futures
+    from concurrent import futures
     import urllib.request
 
     URLS = ['http://www.foxnews.com/',
@@ -95,10 +95,11 @@
 Interface
 ---------
 
-The proposed package provides two core classes: `Executor` and
-`Future`.  An `Executor` receives asynchronous work requests (in terms
-of a callable and its arguments) and returns a `Future` to represent
-the execution of that work request.
+The proposed package would be called "futures" and would live in a new
+"concurrent" top-level package. It provides two core classes: `Executor` and
+`Future`. An `Executor` receives asynchronous work requests (in terms of a
+callable and its arguments) and returns a `Future` to represent the execution
+of that work request.
 
 Executor
 ''''''''


More information about the Python-checkins mailing list