Path: csiph.com!fu-berlin.de!uni-berlin.de!not-for-mail From: Mark Lawrence Newsgroups: comp.lang.python Subject: Re: subprocess startup error Date: Fri, 26 Feb 2016 15:47:16 +0000 Lines: 33 Message-ID: References: <56D06A61.3030008@biologie.uni-freiburg.de> Mime-Version: 1.0 Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-Trace: news.uni-berlin.de Ko4zANDu11KSvl78+VJz5gQUZ6i1qX2ULGZK136xtXLw== Return-Path: 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; 'from:addr:yahoo.co.uk': 0.05; 'rename': 0.07; 'benjamin': 0.09; 'received:80.91': 0.09; 'received:80.91.229': 0.09; 'received:gmane.org': 0.09; 'received:list': 0.09; 'python': 0.10; 'subject:error': 0.11; '2016': 0.16; 'received:80.91.229.3': 0.16; 'received:io': 0.16; 'received:plane.gmane.org': 0.16; 'received:psf.io': 0.16; 'remembered': 0.16; 'wrote:': 0.16; 'library,': 0.18; 'language': 0.19; '>>>': 0.20; 'lawrence': 0.22; 'am,': 0.23; 'header:In- Reply-To:1': 0.24; 'discussion': 0.24; 'url:bugs': 0.24; 'module': 0.25; 'header:User-Agent:1': 0.26; 'header:X-Complaints-To:1': 0.26; 'van': 0.26; 'error': 0.27; 'accidentally': 0.29; 'crash': 0.29; "i'm": 0.30; 'language.': 0.32; 'url:python': 0.33; 'idle': 0.33; 'file': 0.34; 'could': 0.35; 'saved': 0.35; 'something': 0.35; 'but': 0.36; 'should': 0.36; 'url:org': 0.36; 'to:addr :python-list': 0.36; 'subject:: ': 0.37; 'being': 0.37; 'thanks': 0.37; 'received:org': 0.37; 'link.': 0.37; 'names': 0.38; 'does': 0.39; 'to:addr:python.org': 0.40; 'mark': 0.40; 'easy': 0.60; 'charset:windows-1252': 0.62; 'our': 0.64; '>>>>>': 0.66; 'protect': 0.76; 'oscar': 0.84; 'otten': 0.84; 'pythonistas,': 0.84 X-Injected-Via-Gmane: http://gmane.org/ X-Gmane-NNTP-Posting-Host: 80.234.182.166 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.6.0 In-Reply-To: <56D06A61.3030008@biologie.uni-freiburg.de> X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.21rc2 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:103549 On 26/02/2016 15:08, Wolfgang Maier wrote: > On 26.02.2016 15:57, Emile van Sebille wrote: >> On 2/26/2016 6:49 AM, Oscar Benjamin wrote: >>> On 26 February 2016 at 13:30, Peter Otten <__peter__@web.de> wrote: >>>> Shweta Dinnimani wrote: >>>>> i saved my file as string.py since than i'm facing this error >>>> >>>> Rename that file to something that does not clash with the module >>>> names in >>>> the standard library, mystring.py for example, and IDLE should work >>>> again. >>> >>> It's ridiculous that it's this easy to accidentally crash IDLE and the >>> Python shell. >> >> I don't think there's a way to protect against it -- how could you work >> on string.py otherwise? >> > > Emitting a warning message in such situations is being discussed in > http://bugs.python.org/issue23809 though it is not a very lively > discussion. > Thanks for the link. I knew that I remembered a discussion about this but frustratingly couldn't find it for myself :( -- My fellow Pythonistas, ask not what our language can do for you, ask what you can do for our language. Mark Lawrence