[Python-checkins] cpython (merge 3.2 -> default): Remove __pycache__ directories correctly on OpenBSD
petri.lehtinen
python-checkins at python.org
Sat Nov 5 21:02:32 CET 2011
http://hg.python.org/cpython/rev/f853a2cbd68b
changeset: 73381:f853a2cbd68b
parent: 73376:4eee9dd61147
parent: 73380:41ab1dfaf1d4
user: Petri Lehtinen <petri at digip.org>
date: Sat Nov 05 21:23:48 2011 +0200
summary:
Remove __pycache__ directories correctly on OpenBSD
Closes #13326.
files:
Makefile.pre.in | 2 +-
Misc/NEWS | 2 ++
2 files changed, 3 insertions(+), 1 deletions(-)
diff --git a/Makefile.pre.in b/Makefile.pre.in
--- a/Makefile.pre.in
+++ b/Makefile.pre.in
@@ -1285,8 +1285,8 @@
# Sanitation targets -- clean leaves libraries, executables and tags
# files, which clobber removes as well
pycremoval:
+ -find $(srcdir) -depth -name '__pycache__' -exec rm -rf {} ';'
-find $(srcdir) -name '*.py[co]' -exec rm -f {} ';'
- -find $(srcdir) -name '__pycache__' -exec rmdir {} '+'
rmtestturds:
-rm -f *BAD *GOOD *SKIPPED
diff --git a/Misc/NEWS b/Misc/NEWS
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -1445,6 +1445,8 @@
Build
-----
+- Issue #13326: Clean __pycache__ directories correctly on OpenBSD.
+
- PEP 393: the configure option --with-wide-unicode is removed.
- Issue #12852: Set _XOPEN_SOURCE to 700, instead of 600, to get POSIX 2008
--
Repository URL: http://hg.python.org/cpython
More information about the Python-checkins
mailing list