As described on the Python discussion forum, there is an edge case of byte-code files being created that have a file extension other than .pyc and pyo.
PyClean doesn't recognize them and hence leaves them in place, which results in the entire __pycache__ folder they may be left inside not being removed. This is because PyClean is cautious and only removes empty __pycache__ folders.
PyClean should delete all files that have been created by Python, even those lying around as a side-effect of program abortion, etc.
Related Reading
As described on the Python discussion forum, there is an edge case of byte-code files being created that have a file extension other than
.pycandpyo.PyClean doesn't recognize them and hence leaves them in place, which results in the entire
__pycache__folder they may be left inside not being removed. This is because PyClean is cautious and only removes empty__pycache__folders.PyClean should delete all files that have been created by Python, even those lying around as a side-effect of program abortion, etc.
Related Reading