Benjamin Peterson added the comment: >Yes, help with unit tests would be appreciated. Especially since it is >not supposed to fix anything, so I'm not sure what unit tests should be >like... Unit tests are just for bugfixes. They let us make sure Python is doing what we want it to do in a given case. Your unit test will probably have functions where you optimization should take effect and assert that it does. For starters, take a look at Lib/test/test_peephole.py
---------- nosy: +benjamin.peterson __________________________________ Tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue1394> __________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com