[pypy-commit] extradoc extradoc: Final version

arigo noreply at buildbot.pypy.org
Wed Jul 4 12:13:46 CEST 2012


Author: Armin Rigo <arigo at tunes.org>
Branch: extradoc
Changeset: r4272:d32f67aac690
Date: 2012-07-03 11:53 +0200
http://bitbucket.org/pypy/extradoc/changeset/d32f67aac690/

Log:	Final version

diff --git a/talk/ep2012/stm/stmdemo2.py b/talk/ep2012/stm/stmdemo2.py
--- a/talk/ep2012/stm/stmdemo2.py
+++ b/talk/ep2012/stm/stmdemo2.py
@@ -1,33 +1,37 @@
 
 
-    def specialize_more_blocks(self):
-        while True:
-            # look for blocks not specialized yet
-            pending = [block for block in self.annotator.annotated
-                             if block not in self.already_seen]
-            if not pending:
-                break
+def specialize_more_blocks(self):
+    while True:
+       # look for blocks not specialized yet
+       pending = [block for block in self.annotator.annotated
+                        if block not in self.already_seen]
+       if not pending:
+           break
 
-            # specialize all blocks in the 'pending' list
-            for block in pending:
-                self.specialize_block(block)
-                self.already_seen.add(block)
+       # specialize all blocks in the 'pending' list
+       for block in pending:
+           self.specialize_block(block)
+           self.already_seen.add(block)
 
 
 
 
-    def specialize_more_blocks(self):
-        while True:
-            # look for blocks not specialized yet
-            pending = [block for block in self.annotator.annotated
-                             if block not in self.already_seen]
-            if not pending:
-                break
 
-            # specialize all blocks in the 'pending' list
-            # *using transactions*
-            for block in pending:
-                transaction.add(self.specialize_block, block)
-            transaction.run()
 
-            self.already_seen.update(pending)
+
+
+def specialize_more_blocks(self):
+    while True:
+       # look for blocks not specialized yet
+       pending = [block for block in self.annotator.annotated
+                        if block not in self.already_seen]
+       if not pending:
+           break
+
+       # specialize all blocks in the 'pending' list
+       # *using transactions*
+       for block in pending:
+           transaction.add(self.specialize_block, block)
+       transaction.run()
+
+       self.already_seen.update(pending)
diff --git a/talk/ep2012/stm/talk.pdf b/talk/ep2012/stm/talk.pdf
index 19067d178980accc5a060fa819059611fcf1acdc..59ba6454817cd0a87accdf48e505190fe99b4924
GIT binary patch

[cut]

diff --git a/talk/ep2012/stm/talk.rst b/talk/ep2012/stm/talk.rst
--- a/talk/ep2012/stm/talk.rst
+++ b/talk/ep2012/stm/talk.rst
@@ -484,6 +484,8 @@
 
 * http://pypy.org/
 
-* You can hire Antonio
+* You can hire Antonio (http://antocuni.eu)
 
 * Questions?
+
+* PyPy help desk on Thursday morning
\ No newline at end of file


More information about the pypy-commit mailing list