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). _______________________________________________ pytest-commit mailing list pytest-commit@python.org https://mail.python.org/mailman/listinfo/pytest-commit