Path: csiph.com!usenet.pasdenom.info!news.albasani.net!newsfeed.freenet.ag!news2.euro.net!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.060 X-Spam-Evidence: '*H*': 0.88; '*S*': 0.00; 'subject:Python': 0.05; 'makefile': 0.07; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'subject:possible': 0.16; 'wrote:': 0.17; 'thu,': 0.17; 'feb': 0.19; 'header:In-Reply-To:1': 0.25; 'message- id:@mail.gmail.com': 0.27; 'received:209.85.212': 0.28; "d'aprano": 0.29; 'necessary,': 0.29; 'steven': 0.29; 'not.': 0.32; 'could': 0.32; "aren't": 0.33; 'to:addr:python-list': 0.33; 'received:google.com': 0.34; 'pm,': 0.35; 'subject:?': 0.35; 'received:209.85': 0.35; 'but': 0.36; 'should': 0.36; 'ones': 0.37; 'rather': 0.37; 'received:209': 0.37; 'subject:: ': 0.38; 'files': 0.38; 'performance': 0.39; 'to:addr:python.org': 0.39; 'your': 0.60; 'remove': 0.61; '2013': 0.84; 'wipe': 0.84; 'safe.': 0.93 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:in-reply-to:references:date:message-id :subject:from:to:content-type; bh=Da5yzAYQfQdL/pH9aJXJ2Mo6oGqbWnEJh2N9ub40Pjs=; b=Qk5H3OrFlTl13ORS1N16oWSi0RPJBK88rwtp6AVqNYCZmwlGDXxfUUVtrXxOh8KsnJ 2LoKyg4k1a3R2sajERgSdZBiZCkgGUhFmqkRlMYuVFfDl69mi4MaYRwWw9Bvw7iBHv+E TG/kftSHNB/tgNbDZZSSW0/PmFnvQjUpfWxiL/hokY8GJN10h1i4zNrSuZFMFQggoiv9 lmgi7meEt7SalRFhZmmgsRq5A+GDqRxssq4zyjppHdQpIBa6q5waJJ0UpRbXSv9x+bIK hkx5V7UZ2gu1QW/I31O5/kIgrHlOsPuMSOfdOQH1p9P/CobI7nj8d//jZHEpR7cvNPnB 19sQ== MIME-Version: 1.0 X-Received: by 10.52.89.208 with SMTP id bq16mr4834588vdb.111.1360824202180; Wed, 13 Feb 2013 22:43:22 -0800 (PST) In-Reply-To: <511c501d$0$6512$c3e8da3$5496439d@news.astraweb.com> References: <511b2a7c$0$11096$c3e8da3@news.astraweb.com> <511c501d$0$6512$c3e8da3$5496439d@news.astraweb.com> Date: Thu, 14 Feb 2013 17:43:21 +1100 Subject: Re: Python Makefiles... are they possible? From: Chris Angelico To: python-list@python.org Content-Type: text/plain; charset=ISO-8859-1 X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: Lines: 11 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1360824210 news.xs4all.nl 6951 [2001:888:2000:d::a6]:46811 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:38848 On Thu, Feb 14, 2013 at 1:46 PM, Steven D'Aprano wrote: > I prefer to keep the .pyc files, and only remove them when necessary, rather > than to remove them whether it's necessary or not. Solution to that could be just to have your makefile wipe out orphanned pyc files, rather than all of them. Still might be a performance hit (if it has to wade through piles of pyc/py files to see which ones aren't needed), but otherwise should be safe. ChrisA