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

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

Reply via email to