]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
SF Patch #1013667: Cleanup Peepholer Output
authorRaymond Hettinger <python@rcn.com>
Mon, 23 Aug 2004 23:37:48 +0000 (23:37 +0000)
committerRaymond Hettinger <python@rcn.com>
Mon, 23 Aug 2004 23:37:48 +0000 (23:37 +0000)
commitfd2d1f7870ec5cd639ab7867a33c6f8628ca1dfb
treee53476ea480ea8b7c0dd17100ac265c3e8166f40
parent08158a0c65c960dfcb2ad19680f215d6a395054d
SF Patch #1013667:  Cleanup Peepholer Output

* Make a pass to eliminate NOPs.  Produce code that is more readable,
  more compact, and a tiny bit faster.  Makes the peepholer more flexible
  in the scope of allowable transformations.

* With Guido's okay, bumped up the magic number so that this patch gets
  widely exercised before the alpha goes out.
Lib/test/test_dis.py
Lib/test/test_peepholer.py [new file with mode: 0644]
Python/compile.c
Python/import.c