Path: csiph.com!fu-berlin.de!uni-berlin.de!not-for-mail From: Terry Reedy Newsgroups: comp.lang.python Subject: Re: UNABLE TO GET IDLE TO RUN Date: Mon, 2 Nov 2015 02:46:45 -0500 Lines: 22 Message-ID: References: <1501485483.555358.1445441061800.JavaMail.yahoo@mail.yahoo.com> <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> <5636214b$0$1617$c3e8da3$5496439d@news.astraweb.com> <201511011617.tA1GHVKE030820@fido.openend.se> <87twp5z0lf.fsf@nightsong.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-Trace: news.uni-berlin.de e8bKZhIaDoRIw/6C2f2e4whzWpn6HtOZLsSRf3x5KqGg== Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.007 X-Spam-Evidence: '*H*': 0.99; '*S*': 0.00; 'subject:IDLE': 0.04; 'filename': 0.07; 'filename,': 0.09; 'received:80.91': 0.09; 'received:80.91.229': 0.09; 'received:gmane.org': 0.09; 'received:list': 0.09; 'whatever.': 0.09; 'jan': 0.11; '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; 'sys.path': 0.16; 'wrote:': 0.16; 'duplicate': 0.18; 'file.': 0.22; '(or': 0.23; 'seems': 0.23; 'header:In-Reply- To:1': 0.24; 'paul': 0.24; "i've": 0.25; 'header:User-Agent:1': 0.26; 'header:X-Complaints-To:1': 0.26; 'this.': 0.28; 'regular': 0.29; 'accidentally': 0.29; "i'm": 0.30; 'code': 0.30; 'run': 0.33; 'idle': 0.33; 'windows.': 0.33; 'done': 0.35; 'something': 0.35; 'there': 0.36; 'possible': 0.36; 'to:addr:python-list': 0.36; 'pm,': 0.36; 'subject:: ': 0.37; 'being': 0.37; 'received:org': 0.37; 'names': 0.38; 'to:addr:python.org': 0.40; 'some': 0.40; 'avoid': 0.61; 'personally': 0.61; 'per': 0.62; 'times': 0.63; 'wish': 0.71; 'gotten': 0.76; 'validate': 0.76; 'prompt': 0.79; 'subject:GET': 0.84; 'window,': 0.84; 'received:fios.verizon.net': 0.91 X-Injected-Via-Gmane: http://gmane.org/ X-Gmane-NNTP-Posting-Host: pool-173-59-124-74.phlapa.fios.verizon.net User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.3.0 In-Reply-To: <87twp5z0lf.fsf@nightsong.com> 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:98088 On 11/1/2015 7:50 PM, Paul Rubin wrote: > Terry Reedy writes: >> * 'Save-as' is not part of the regular workflow. It is done once per >> file. Experienced users who know to avoid stdlib names will not see >> the messages unless they accidentally duplicate one -- which is >> possible because there are now so many. I personally would like being >> warned. > > I think there is something to be said for this. I've gotten confused a > few times by accidentally re-using a stdlib name, and I'm experienced. > > One thing I wish in IDLE is for ctrl-N (or some alternate) to prompt > for a filename immediately: opening a new window, then writing code in > it, and then using Save-as seems unnatural to me. That would also be > a good time to validate the filename, by searching sys.path or whatever. Given that one has to save-as before running, this seems somewhat sensible. There is also request to be able to run 'Untitled' windows. -- Terry Jan Reedy