Path: csiph.com!usenet.pasdenom.info!news.albasani.net!weretis.net!feeder4.news.weretis.net!rt.uk.eu.org!newsfeed.xs4all.nl!newsfeed1.news.xs4all.nl!xs4all!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: UNSURE 0.208 X-Spam-Level: ** X-Spam-Evidence: '*H*': 0.61; '*S*': 0.03; 'cc:addr:python-list': 0.11; '"file': 0.16; 'fail,': 0.16; 'cc:addr:python.org': 0.22; 'days,': 0.24; "shouldn't": 0.24; 'fairly': 0.24; 'cc:2**0': 0.24; 'cc:no real name:2**0': 0.24; 'header:In-Reply-To:1': 0.27; 'wonder': 0.29; 'message-id:@mail.gmail.com': 0.30; "i'm": 0.30; 'file': 0.32; 'beginning': 0.33; 'but': 0.35; 'received:google.com': 0.35; 'there': 0.35; "didn't": 0.36; 'useful': 0.36; 'step': 0.37; 'being': 0.38; 'ago,': 0.61; 'entire': 0.61; 'such': 0.63; 'to:addr:gmail.com': 0.65; 'coherent': 0.84; 'subject:skip:o 10': 0.84; 'have.': 0.93; 'washington': 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:cc:content-type; bh=O9GaCHhL/VUnH2cHJHbDSFfH8fpi/asDQUEUKXRBSeI=; b=AeZE4HHOD7IUEuGGOI9o4Ag3CTdku2lX8NLcTN2TCKxqasIbytTJzFSEW3N3NgIttQ bMKXGmrPHrV3CS+O7piX2jtoxGLrx55GLUn9QhfdPGrFXIdZ+gbFq7N1sxnDE6bN4K8a rNTKWzbrq/fbboTWR5NB7aohA2YL9qD3Mh+um4c445brWMbjyvpgfZ/IdFTPxGeG1s/e Ap4PPViWTpbDFZqqrHE30Y+jKpDF2uGGHj/OT4aKRQ4xr/6skffmrxnWOgymxqULZ+Xy NXvQeK/C4jNXHFO5SfytvufgQukE7py7SBGLeHmob/CQ+w/WlSYZXPoRkKMctMOEBPQ+ BMcQ== MIME-Version: 1.0 X-Received: by 10.180.38.48 with SMTP id d16mr967469wik.16.1368157911281; Thu, 09 May 2013 20:51:51 -0700 (PDT) In-Reply-To: References: <518a123c$0$11094$c3e8da3@news.astraweb.com> <518b32ef$0$11120$c3e8da3@news.astraweb.com> <518be931$0$29997$c3e8da3$5496439d@news.astraweb.com> <518c5bbc$0$29997$c3e8da3$5496439d@news.astraweb.com> Date: Thu, 9 May 2013 20:51:51 -0700 Subject: Re: object.enable() anti-pattern From: Mark Janssen To: Chris Angelico Content-Type: text/plain; charset=ISO-8859-1 X-Mailman-Approved-At: Sat, 11 May 2013 14:05:53 +0200 Cc: python-list@python.org 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: 18 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1368273954 news.xs4all.nl 15867 [2001:888:2000:d::a6]:42242 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:45136 >> In the old days, it was useful to have fine-grained control over the >> file object because you didn't know where it might fail, and the OS >> didn't necessarily give you give good status codes. So being able to >> step through the entire process was the job of the progammers. > > I don't know what you mean by the "old days", but a couple of decades > ago, there were no such things as "file objects". My apologies. I used the word "object" when I shouldn't have. > I'm beginning to wonder if you and Dihedral are swapping notes. > Dihedral's been sounding fairly coherent lately. Dihedral... That's my dream-self. Where did you encounter him? heh -- MarkJ Tacoma, Washington