]> granicus.if.org Git - python/commit
Overhaul Lib/compiler block ordering. The previous code was filled with
authorNeil Schemenauer <nascheme@enme.ucalgary.ca>
Fri, 6 Feb 2009 21:08:52 +0000 (21:08 +0000)
committerNeil Schemenauer <nascheme@enme.ucalgary.ca>
Fri, 6 Feb 2009 21:08:52 +0000 (21:08 +0000)
commit4db626f95d9dbb7d52418dee9a96467da3720796
tree3a93d86464f93de7af88ac2ef876450803949c04
parent0d6705b23473f3b3c22c14a86c9e8af7fb16a917
Overhaul Lib/compiler block ordering.  The previous code was filled with
hacks.  The new code is based on issue #2472 posted by Antoine Pitrou.  I
did some further cleanups of the pyassem code and optimized the block
ordering pass.
Lib/compiler/pyassem.py
Lib/compiler/pycodegen.py