[Pytest-commit] Issue #590: Remove stale bytecode files (hpk42/pytest)

Wolfgang Schnerring issues-reply at bitbucket.org
Sat Sep 13 16:09:45 CEST 2014


New issue 590: Remove stale bytecode files
https://bitbucket.org/hpk42/pytest/issue/590/remove-stale-bytecode-files

Wolfgang Schnerring:

The situation is rather rare (when switching between branches for example) that you get obsolete .pyc/.pyo files, i.e. without corresponding .py files, but when it occurs it can lead to obscure and really hard to detect problems. So it might be a worthwile feature to clean those up automatically ([zope.testrunner does this](https://github.com/zopefoundation/zope.testrunner/blob/master/src/zope/testrunner/find.py#L348) for example).




More information about the pytest-commit mailing list