[Checkins] SVN: zc.async/trunk/s last tweaks for release.

Gary Poster gary at zope.com
Wed Jul 30 16:20:56 EDT 2008


Log message for revision 89066:
  last tweaks for release.

Changed:
  U   zc.async/trunk/setup.py
  U   zc.async/trunk/src/zc/async/CHANGES.txt
  U   zc.async/trunk/src/zc/async/QUICKSTART_1_VIRTUALENV.txt

-=-
Modified: zc.async/trunk/setup.py
===================================================================
--- zc.async/trunk/setup.py	2008-07-30 20:08:44 UTC (rev 89065)
+++ zc.async/trunk/setup.py	2008-07-30 20:20:55 UTC (rev 89066)
@@ -71,7 +71,7 @@
 
 setup(
     name='zc.async',
-    version='1.4.0b1',
+    version='1.4.0',
     packages=find_packages('src'),
     package_dir={'':'src'},
     zip_safe=False,

Modified: zc.async/trunk/src/zc/async/CHANGES.txt
===================================================================
--- zc.async/trunk/src/zc/async/CHANGES.txt	2008-07-30 20:08:44 UTC (rev 89065)
+++ zc.async/trunk/src/zc/async/CHANGES.txt	2008-07-30 20:20:55 UTC (rev 89066)
@@ -1,4 +1,4 @@
-1.4 (2008-XX-XX)
+1.4 (2008-07-30)
 ================
 
 - Mentioned in ftesting.txt that Zope 3 users should uses zope.app.testing
@@ -45,7 +45,7 @@
   it trivial to schedule and process decomposed jobs.
 
 - Add ``start`` convenience function to zc.async.configure to make it trivial
-  to start up a common-case configuration of a zc.async dispatcher.  NEEDS TEST
+  to start up a common-case configuration of a zc.async dispatcher.
 
 - No longer use protected attributes of callbacks in ``resumeCallbacks``.
 
@@ -57,6 +57,9 @@
   means that zc.async.local.getJob() always returns the currently running job,
   whether it is a top-level job (as before) or a callback (now).
 
+- Start on S5 QuickStart presentation (see QUICKSTART_1_VIRTUALENV.txt in
+  package).
+
 1.3 (2008-07-04)
 ================
 

Modified: zc.async/trunk/src/zc/async/QUICKSTART_1_VIRTUALENV.txt
===================================================================
--- zc.async/trunk/src/zc/async/QUICKSTART_1_VIRTUALENV.txt	2008-07-30 20:08:44 UTC (rev 89065)
+++ zc.async/trunk/src/zc/async/QUICKSTART_1_VIRTUALENV.txt	2008-07-30 20:20:55 UTC (rev 89066)
@@ -182,7 +182,7 @@
 
 Let's start the ZEO Server::
 
-    ./bin/runzeo -a 9999 -f test.fs &
+    $ ./bin/runzeo -a 9999 -f test.fs &
 
 That starts a database server, accessible on port 9999 of your local machine,
 saving the data in the test.fs file.
@@ -260,6 +260,17 @@
 
 Let's put a job in our queue.
 
+>>> import time
+    >>> j = q.put(time.time)
+    >>> j.result
+    >>> j.status
+    u'pending-status'
+
+We have to commit the transaction for the dispatcher to see the job.
+
+    >>> import transaction
+    >>> transaction.commit()
+
 .. class:: handout
 
     This is a silly example. Imagine instead that this was some really
@@ -269,20 +280,8 @@
     this parent job isn't done until all the children jobs run to completion.
 
     Or maybe this is a silly example.
-
 ..
 
-    >>> import time
-    >>> j = q.put(time.time)
-    >>> j.result
-    >>> j.status
-    u'pending-status'
-
-We have to commit the transaction for the dispatcher to see the job.
-
-    >>> import transaction
-    >>> transaction.commit()
-
 A Result
 ========
 
@@ -320,6 +319,8 @@
 Another Result
 ==============
 
+::
+
     >>  j.result
     >>  _ = transaction.begin()
     >>  j.result



More information about the Checkins mailing list