[Python-Dev] __pycache__ creation

Barry Warsaw barry at python.org
Tue Mar 23 23:42:22 CET 2010

On Mar 22, 2010, at 09:57 PM, Antoine Pitrou wrote:

>It's especially annoying, of course, if you have to ask someone else to
>remove the directories for you (or if you have to write custom code and get
>it executed by the Apache or WSGI handler...).

compileall should probably grow a --clean option which would be essentially
equivalent to

    find . -name '__pycache__' | xargs rmdir


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: not available
URL: <http://mail.python.org/pipermail/python-dev/attachments/20100323/01e831b2/attachment.pgp>

More information about the Python-Dev mailing list