]> granicus.if.org Git - python/commit
Bug 8527 - multiple compileall calls produce cascading __pycache__ directories.
authorBarry Warsaw <barry@python.org>
Mon, 26 Apr 2010 15:59:03 +0000 (15:59 +0000)
committerBarry Warsaw <barry@python.org>
Mon, 26 Apr 2010 15:59:03 +0000 (15:59 +0000)
commitc04317fdc45ded619a1b66941d1437a5e9a37a73
tree4ad24fecd84e55ecfc977b544f27f9a71751f23e
parenta1af3e0b9ee9ee150d0ddce1306ce1a7aadf2a03
Bug 8527 - multiple compileall calls produce cascading __pycache__ directories.

* Patch contributed by Arfrever Frehtes Taifersar Arahesis.
* Test added by Barry

Also, improve Makefile's deletion of __pycache__ directories so e.g. 'make
distclean' doesn't fail if no __pycache__ directories exist.
Lib/compileall.py
Lib/test/test_compileall.py
Makefile.pre.in