Author: Christian Tismer <tis...@stackless.com> Branch: extradoc Changeset: r4275:e1c55eeebbe5 Date: 2012-07-04 12:26 +0200 http://bitbucket.org/pypy/extradoc/changeset/e1c55eeebbe5/
Log: Merge 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 _______________________________________________ pypy-commit mailing list pypy-commit@python.org http://mail.python.org/mailman/listinfo/pypy-commit