Disable use of pyc file with no matching py file

Miki Tebeka miki.tebeka at gmail.com
Mon Jan 30 17:13:02 EST 2012

Not that I'm aware of.

I have a script that run the test suite, one of the first commands (before calling nosetests) is:
    find . -name '*.py[co]' -exec rm {} \;

This makes sure the tests run in a "clean" environment.

More information about the Python-list mailing list