Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!newsfeed.xs4all.nl!newsfeed3.news.xs4all.nl!xs4all!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.029 X-Spam-Evidence: '*H*': 0.94; '*S*': 0.00; 'string': 0.09; 'cc:addr :python-list': 0.11; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'normal,': 0.16; 'reedy': 0.16; 'self.file': 0.16; 'wrote:': 0.18; 'subject:need': 0.19; 'cc:addr:python.org': 0.22; 'looks': 0.24; 'cc:2**0': 0.24; 'header:In-Reply-To:1': 0.27; 'am,': 0.29; 'message-id:@mail.gmail.com': 0.30; 'comments': 0.31; 'fri,': 0.33; 'common': 0.35; 'received:google.com': 0.35; '2nd': 0.60; '1st': 0.74; 'jul': 0.74; 'to:none': 0.92 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:cc :content-type; bh=5GMhOdZoaE4EMBNIOiHb5vmIGVO/UatyDeCeKPN5tx8=; b=fNYDzsaHSLCn7cfnBdUlRc0QVt9OtE/AbNr/W5E51C5SaEdQGUDQtXyGJ2g68r39ex tfnByP/oH1RQAcCvCjl/VT6/EgMZgL25hf4qInwY16yTSfnlvLyhAGPPcWT4DTMUszni 6auBrLQgoqhwusG8C8iacLQis/9WwGVXINU+xym/fNDjBNq1GriuaznxeAVHNpmlEXdN jHL/sp1KerK8L97IyxpjdTsZFccivPNtqqnw2Er3JEVGtZE3FViEH5lWBPjTJTN6M+Wp 2lDuMF+WF+P1nCGbjUeBgCft3Sh3RI1cWixyYBMf8vSwA8LQckcw56k5Gktw9GAF+3aX jg4w== MIME-Version: 1.0 X-Received: by 10.52.232.200 with SMTP id tq8mr1138180vdc.32.1405649071699; Thu, 17 Jul 2014 19:04:31 -0700 (PDT) In-Reply-To: References: <6239bcaa-828f-499b-936d-69d022bb94ac@googlegroups.com> <467108ec-19e7-4089-8d5f-53a80244adaf@googlegroups.com> Date: Fri, 18 Jul 2014 12:04:31 +1000 Subject: Re: I need an idea for practise! From: Chris Angelico Cc: "python-list@python.org" Content-Type: text/plain; charset=UTF-8 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: 8 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1405649073 news.xs4all.nl 2829 [2001:888:2000:d::a6]:41061 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:74710 On Fri, Jul 18, 2014 at 7:46 AM, Terry Reedy wrote: > # self.file = open("file") : > # 1st 'file' colorized normal, 2nd as builtin, 3rd as string Is this pair of comments a hold-over from when it was common to use the file() constructor? Looks like it got searched-and-replaced. ChrisA