Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #98016

Re: UNABLE TO GET IDLE TO RUN

From Terry Reedy <tjreedy@udel.edu>
Newsgroups comp.lang.python
Subject Re: UNABLE TO GET IDLE TO RUN
Date 2015-10-31 01:59 -0400
Organization A noiseless patient Spider
Message-ID <mailman.5.1446271209.31888.python-list@python.org> (permalink)
References (14 earlier) <201510290753.t9T7rZqR032272@fido.openend.se> <n0ssmm$adi$1@ger.gmane.org> <5A7F323C-ED4A-4CCA-A392-2C6F64EA6A6F@xs4all.nl> <201510301629.t9UGTY2i013568@fido.openend.se> <n114n1$o4h$1@ger.gmane.org>

Show all headers | View raw


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

Back to comp.lang.python | Previous | Next | Find similar | Unroll thread


Thread

Re: UNABLE TO GET IDLE TO RUN Terry Reedy <tjreedy@udel.edu> - 2015-10-31 01:59 -0400

csiph-web