Path: csiph.com!eternal-september.org!feeder.eternal-september.org!mx02.eternal-september.org!.POSTED!not-for-mail From: Terry Reedy Newsgroups: comp.lang.python Subject: Re: UNABLE TO GET IDLE TO RUN Date: Sat, 31 Oct 2015 01:59:36 -0400 Organization: A noiseless patient Spider Lines: 27 Message-ID: References: <1501485483.555358.1445441061800.JavaMail.yahoo@mail.yahoo.com> <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; format=flowed Content-Transfer-Encoding: 7bit Injection-Info: mx02.eternal-september.org; posting-host="0a58b1380be955ba1fde924ec1d96a09"; logging-data="7301"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/MmWX0Bkpd8OYiMcpqMekZ" User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.3.0 List-Help: Cancel-Lock: sha1:+JthLefmYzVb2lNhXkrFT8nM0UA= Delivered-To: python-list@mail.python.org List-Id: General discussion list for the Python programming language X-Spam-Evidence: '*H*': 1.00; '*S*': 0.00; 'subject:IDLE': 0.04; 'guido': 0.05; 'creighton': 0.09; 'received:80.91': 0.09; 'received:80.91.229': 0.09; 'received:gmane.org': 0.09; 'received:list': 0.09; 'jan': 0.11; '9:15': 0.16; 'module?': 0.16; 'received:80.91.229.3': 0.16; 'received:io': 0.16; 'received:plane.gmane.org': 0.16; 'received:psf.io': 0.16; 'reedy': 0.16; 'spit': 0.16; 'wrote:': 0.16; 'laura': 0.18; 'module,': 0.18; 'pointed': 0.18; '>>>': 0.20; '2015': 0.20; 'suggested': 0.20; 'trying': 0.22; 'header:In-Reply-To:1': 0.24; 'url:bugs': 0.24; 'header:User-Agent:1': 0.26; 'header:X -Complaints-To:1': 0.26; 'fri,': 0.27; 'idea': 0.28; 'prevention': 0.29; 'maybe': 0.33; 'useful': 0.33; 'url:python': 0.33; 'avoiding': 0.33; 'idle': 0.33; 'similar': 0.33; 'file': 0.34; 'add': 0.34; 'lists': 0.34; 'list': 0.34; 'gives': 0.35; 'functions.': 0.35; 'needed': 0.36; 'url:org': 0.36; 'to:addr :python-list': 0.36; 'pm,': 0.36; 'subject:: ': 0.37; 'received:org': 0.37; 'hi,': 0.38; 'to:addr:python.org': 0.40; 'save': 0.60; 'different': 0.63; 'here:': 0.63; 'worth': 0.67; 'subject:GET': 0.84; 'received:fios.verizon.net': 0.91; 'shadow': 0.91 X-Gmane-NNTP-Posting-Host: pool-173-59-124-74.phlapa.fios.verizon.net Precedence: list X-Injected-Via-Gmane: http://gmane.org/ List-Unsubscribe: , List-Archive: X-Spam-Status: OK 0.002 In-Reply-To: List-Post: X-Mailman-Version: 2.1.20+ X-BeenThere: python-list@python.org Return-Path: X-Original-To: python-list@python.org List-Subscribe: , Xref: csiph.com comp.lang.python:98016 On 10/30/2015 9:15 PM, Terry Reedy wrote: > On 10/30/2015 12:29 PM, Laura Creighton wrote: >> In a message of Fri, 30 Oct 2015 16:21:30 +0100, Michiel Overtoom writes: >>> Hi, >>> >>> Laura wrote: >>>> I think that it would be useful if IDLE spit out a warning >>> >>> An ounce of prevention is worth a pound of cure. Maybe it's an idea >>> that IDLE gives a warning when you're trying to save a file with a >>> name that would shadow an existing module? > >> You might want to add that idea here: >> https://bugs.python.org/issue25514 This is a different issue than IDLE avoiding clashes. I opened https://bugs.python.org/issue25522 > A warning requires a list to check against. I just suggested on > python-ideas the addition of a 'module' module, similar to the 'keyword' > module, that would have the needed lists and functions. Guido pointed me to sys.builtin_module_names, which is needed for the issue above. -- Terry Jan Reedy