IDLE has suddenly become FAWLTY - so should I be hitting it with a big stick, or what?

Twirlip2 ahrodg at googlemail.com
Tue Aug 26 20:06:10 EDT 2014


On Wednesday, 27 August 2014 01:01:22 UTC+1, Steven D'Aprano  wrote:

> Gregory Ewing wrote:
> 
> > Although shadowing builtin module names is never a good
> > idea, either!
> 
> /s/builtin/standard library/
> 
> Quick! Name all the standard library modules, stat!
> 
> In Python 3.3, there are something like 410 modules in the standard library.
> There's a reasonable chance that you've shadowed at least one but never> 
> noticed. Yet.
> 
> I think it is a serious design flaw that the standard library and user code
> co-exist in a single namespace.

Shades of Windows *.DLLs!



More information about the Python-list mailing list