[issue6982] make clean does not remove pickle files

egreen report at bugs.python.org
Wed Sep 23 22:31:41 CEST 2009


New submission from egreen <egreen at operamail.com>:

make clean and make distclean don't remove the grammar pickles generated
by load_grammar in Lib/lib2to3/pgen2/driver.py
(Lib/lib2to3/Grammar3.2.0.alpha.0.pickle,
Lib/lib2to3/PatternGrammar3.2.0.alpha.0.pickle).

Proposed patch attached. It removes all *.pickle files, which I assume
is safe. (Patch also corrects a comment.)

----------
components: 2to3 (2.x to 3.0 conversion tool), Build
files: clean-pickles.patch
keywords: patch
messages: 93049
nosy: egreen
severity: normal
status: open
title: make clean does not remove pickle files
versions: Python 3.0, Python 3.1, Python 3.2
Added file: http://bugs.python.org/file14960/clean-pickles.patch

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue6982>
_______________________________________


More information about the Python-bugs-list mailing list