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

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. Support for the idea (on python-ideas list) is welcome.

--
Terry Jan Reedy

--
https://mail.python.org/mailman/listinfo/python-list

Reply via email to