Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #38816

Re: Python Makefiles... are they possible?

Path csiph.com!usenet.pasdenom.info!weretis.net!feeder1.news.weretis.net!feeder.erje.net!eu.feeder.erje.net!newsfeed.xs4all.nl!newsfeed3.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail
Return-Path <d@davea.name>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.003
X-Spam-Evidence '*H*': 0.99; '*S*': 0.00; 'subject:Python': 0.05; 'nasty': 0.07; 'suppose': 0.07; 'python': 0.09; 'assumed': 0.09; 'command.': 0.09; '-name': 0.16; '.py': 0.16; 'make,': 0.16; 'meanwhile,': 0.16; 'roy': 0.16; 'sorts': 0.16; 'subject:possible': 0.16; 'xargs': 0.16; 'wrote:': 0.17; 'feb': 0.19; 'module': 0.19; 'fairly': 0.21; 'seems': 0.23; 'project,': 0.24; 'command': 0.24; 'header:In-Reply-To:1': 0.25; 'header:User- Agent:1': 0.26; 'leave': 0.26; 'am,': 0.27; 'bugs': 0.27; 'tree': 0.27; 'run': 0.28; "d'aprano": 0.29; 'steven': 0.29; 'source': 0.29; 'file': 0.32; 'not.': 0.32; 'to:addr:python-list': 0.33; 'another': 0.33; 'moved': 0.35; 'subject:?': 0.35; 'something': 0.35; 'but': 0.36; 'depends': 0.36; 'why': 0.37; 'quite': 0.37; 'subject:: ': 0.38; 'files': 0.38; 'performance': 0.39; 'to:addr:python.org': 0.39; 'received:192': 0.39; 'received:192.168': 0.40; 'your': 0.60; 'our': 0.65; 'received:74.208': 0.71; 'smith': 0.71; '2013': 0.84; 'received:74.208.4.194': 0.84
Date Wed, 13 Feb 2013 08:33:35 -0500
From Dave Angel <d@davea.name>
User-Agent Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130106 Thunderbird/17.0.2
MIME-Version 1.0
To python-list@python.org
Subject Re: Python Makefiles... are they possible?
References <e8d436e1-f226-4a81-968f-295c51198198@googlegroups.com> <mailman.1731.1360717275.2939.python-list@python.org> <roy-270198.20063512022013@news.panix.com> <511b2a7c$0$11096$c3e8da3@news.astraweb.com>
In-Reply-To <511b2a7c$0$11096$c3e8da3@news.astraweb.com>
Content-Type text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding 7bit
X-Provags-ID V02:K0:BrzVgnlwABOCps6JgLhxQZnso5sjToAvRwGdCCiiNbr uq9dPi7g3SXF+iWk2gSTa6kbuIpE5o8EBqz2mTenoO3EnEteVJ 22IiobFOPcsjwMSrfvv16hNXYQY+lxxIIgvGXorURwmjWmb91n vP6Zl7LskAZwaXXhRW6raPFCCnCHOtAii1tRc8OEe1mX1B9un7 vcrP7PzjxY3tO4ee9MGINjI4CXX2DhnK++2hb3A8rJIjDCRDBt cbhQGotsL20Ps9trgSIf+4NmNbSsjnKR5xThkAHF2mni9R/VfS sAOW+7wBEBfQtMfbMH8nAeohn0p5IxYfeEb2kUG5V6M9ha37A= =
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.15
Precedence list
List-Id General discussion list for the Python programming language <python-list.python.org>
List-Unsubscribe <http://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-list/>
List-Post <mailto:python-list@python.org>
List-Help <mailto:python-list-request@python.org?subject=help>
List-Subscribe <http://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.1744.1360762432.2939.python-list@python.org> (permalink)
Lines 26
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1360762432 news.xs4all.nl 6965 [2001:888:2000:d::a6]:46472
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:38816

Show key headers only | View raw


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

Back to comp.lang.python | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Python Makefiles... are they possible? Malcolm White <white.m88@gmail.com> - 2013-02-12 16:44 -0800
  Re: Python Makefiles... are they possible? Joel Goldstick <joel.goldstick@gmail.com> - 2013-02-12 19:55 -0500
  Re: Python Makefiles... are they possible? Oscar Benjamin <oscar.j.benjamin@gmail.com> - 2013-02-13 01:00 +0000
    Re: Python Makefiles... are they possible? Roy Smith <roy@panix.com> - 2013-02-12 20:06 -0500
      Re: Python Makefiles... are they possible? Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2013-02-13 05:54 +0000
        Re: Python Makefiles... are they possible? Benjamin Schollnick <benjamin@schollnick.net> - 2013-02-13 05:45 -0500
        Re: Python Makefiles... are they possible? Dave Angel <d@davea.name> - 2013-02-13 08:33 -0500
        Re: Python Makefiles... are they possible? Roy Smith <roy@panix.com> - 2013-02-13 08:44 -0500
          Re: Python Makefiles... are they possible? Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2013-02-14 13:46 +1100
            Re: Python Makefiles... are they possible? Roy Smith <roy@panix.com> - 2013-02-13 22:02 -0500
            Re: Python Makefiles... are they possible? Chris Angelico <rosuav@gmail.com> - 2013-02-14 17:43 +1100

csiph-web