[pypy-svn] r25311 - pypy/branch/explicit-exceptions/translator

mwh at codespeak.net mwh at codespeak.net
Tue Apr 4 19:10:16 CEST 2006


Author: mwh
Date: Tue Apr  4 19:10:14 2006
New Revision: 25311

Modified:
   pypy/branch/explicit-exceptions/translator/unsimplify.py
Log:
add some shouting to the docstring of split_block


Modified: pypy/branch/explicit-exceptions/translator/unsimplify.py
==============================================================================
--- pypy/branch/explicit-exceptions/translator/unsimplify.py	(original)
+++ pypy/branch/explicit-exceptions/translator/unsimplify.py	Tue Apr  4 19:10:14 2006
@@ -36,7 +36,9 @@
     return newblock
 
 def split_block(translator, graph, block, index):
-    """split a block in two, inserting a proper link between the new blocks"""
+    """split a block in two, inserting a proper link between the new
+    blocks.  if you call this after rtyping, you WILL need to worry
+    about keepalives."""
     assert 0 <= index <= len(block.operations)
     if block.exitswitch == c_last_exception:
         assert index < len(block.operations)



More information about the Pypy-commit mailing list