Skip to content

Byte-code files with timestamp-like extension not being deleted #55

@bittner

Description

@bittner

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingenhancementNew feature or requesthelp wantedExtra attention is needed

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions