Path: csiph.com!news.swapon.de!fu-berlin.de!uni-berlin.de!not-for-mail From: Chris Angelico Newsgroups: comp.lang.python Subject: Re: UNABLE TO GET IDLE TO RUN Date: Sun, 1 Nov 2015 12:59:59 +1100 Lines: 16 Message-ID: References: <1501485483.555358.1445441061800.JavaMail.yahoo@mail.yahoo.com> <201510230905.t9N95FPe025528@fido.openend.se> <56310743.3070708@gmail.com> <563180CB.5080303@gmail.com> <201510290753.t9T7rZqR032272@fido.openend.se> <5A7F323C-ED4A-4CCA-A392-2C6F64EA6A6F@xs4all.nl> <201510301629.t9UGTY2i013568@fido.openend.se> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Trace: news.uni-berlin.de 6GKlHk//TlDaqo0weOn9Mg7guKqBoqlovSAx+q3nmPLw== Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.004 X-Spam-Evidence: '*H*': 0.99; '*S*': 0.00; 'subject:IDLE': 0.04; 'cc:addr:python-list': 0.09; 'prevents': 0.09; 'reinstall': 0.09; 'technician': 0.09; 'python': 0.10; 'applies': 0.15; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'received:io': 0.16; 'received:psf.io': 0.16; 'unusable.': 0.16; 'wrote:': 0.16; 'instance,': 0.18; 'module,': 0.18; ';-)': 0.18; '2015': 0.20; 'cc:2**0': 0.20; 'cc:addr:python.org': 0.20; 'prevent': 0.20; 'fix': 0.21; 'posted': 0.21; 'absolute': 0.23; 'header:In-Reply-To:1': 0.24; 'module': 0.25; 'message- id:@mail.gmail.com': 0.27; 'received:209.85.213.174': 0.29; 'sure,': 0.29; 'windows,': 0.29; 'that.': 0.30; "i'd": 0.31; 'error.': 0.31; 'problem': 0.33; 'idle': 0.33; 'weeks': 0.34; 'file': 0.34; 'received:google.com': 0.35; 'trouble': 0.35; 'nov': 0.35; 'saved': 0.35; 'step': 0.36; 'but': 0.36; 'should': 0.36; 'received:209.85': 0.36; 'pm,': 0.36; 'subject:: ': 0.37; 'really': 0.37; 'received:209.85.213': 0.37; 'received:209': 0.38; 'anything': 0.38; 'sure': 0.39; 'still': 0.40; 'programs': 0.62; 'saving': 0.70; 'chrisa': 0.84; 'shadows': 0.84; 'subject:GET': 0.84; 'to:none': 0.91 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:content-transfer-encoding; bh=WSegWBDsamiPW4TlUcZYgG2pv1RX0pKO6mDFi852BVE=; b=BbRna6z/8fP+1ZhHyIcyHtFKWIz+xaiMQfdOZZlw2t0hAGMMe0LzsiUDBk0FJJVPof 2vf9D4x0m2r6XO7v4rC+VxBgocDJzO/ln0LMdeGP+IleQcjEt/A2aL4vpdNPAvRAm8YZ DpcDsgohUX5KATgaVlw5oQwuETP7xNJ523y04fJ8JZtio/d5X3uFRa7TZP2ScONNpbKB L+cS5+naL4bWpJn8pwEaUhHQRrA8yHLOll0Xva5zw56uWwAw+Ak0XexpOzXDZZUxdgK2 lYPMp4ieGxBj7iPTUi3sZmETRL4/M2XL3z8QWsWM8iPdc0KHd8gqEk6SkiTBRMC0J9sK wGPw== X-Received: by 10.50.66.233 with SMTP id i9mr5440194igt.92.1446343199131; Sat, 31 Oct 2015 18:59:59 -0700 (PDT) In-Reply-To: X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.20+ Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Xref: csiph.com comp.lang.python:98026 On Sun, Nov 1, 2015 at 12:45 PM, Michiel Overtoom wrote: > I'd go even a step further. I think IDLE should not only warn, but comple= tely prevent saving a file which shadows a stdlib module, which will effect= ively render Python unusable. I remember from a few weeks back, a teacher w= ith the same problem posted this on the mailinglist. Eventually she had a t= echnician coming in to reinstall Windows, just to fix this problem ;-) What= an overkill... > Trouble is, that applies only if Idle was the thing that saved it under that name and in that location. And that still only prevents access to one module (imagine, for instance, shadowing wave.py - how many programs will really break?). Not sure it should *prevent* anything like that. A warning, sure, but not an absolute error. ChrisA