On 02/13/2013 12:54 AM, Steven D'Aprano wrote:
On Tue, 12 Feb 2013 20:06:35 -0500, Roy Smith wrote:

One thing we do in our Makefiles is "find . -name '*.pyc' | xargs rm".
It avoids all sorts of nasty and hard to track down bugs (consider what
happens if you move a .py file from one place in your source tree to
another and leave the old .pyc behind).


How often do you move files around in the source tree? Meanwhile, *every*
time you run make, you take a performance hit on every Python module in
your project, whether it has moved or not.

Seems to me like a fairly heavy-handed response for something quite rare,
but I suppose that depends on how often you run make.





That's why I assumed that his command was triggered by the "make clean" command.


--
DaveA
--
http://mail.python.org/mailman/listinfo/python-list

Reply via email to