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

Steven D'Aprano steve+comp.lang.python at pearwood.info
Tue Aug 26 20:01:22 EDT 2014


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.


-- 
Steven




More information about the Python-list mailing list