-
Notifications
You must be signed in to change notification settings - Fork 7
Open
Labels
bugSomething isn't workingSomething isn't workingenhancementNew feature or requestNew feature or requesthelp wantedExtra attention is neededExtra attention is needed
Description
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
- File name pattern of byte-code files (Python.org Discussions)
- What do the python file extensions, .pyc .pyd .pyo stand for? (StackOverflow answer)
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workingenhancementNew feature or requestNew feature or requesthelp wantedExtra attention is neededExtra attention is needed