On 2012-06-27, at 10:57 AM, Paul Moore wrote: > Generally, the impression I get is that the PEP is recommending more > levels of nesting than I would agree with: But it's hard to be sure, > because the concept of nesting feels a bit overloaded. The key for me > is that generally, I like to be able to type "import X" where X is not > a dotted name, and then refer to X.x1, X.x2, etc. I'd call that no > levels of nesting, to be honest. For complex stuff, subpackages > ("import X.Y") might be needed, but that's rare (and even then, key > names should be exposed directly from X).
Why instead of writing 'import project' you don't want to write 'from acme import project'? With python adoption (enterprise too) growing, we will inevitably find out that one single namespace (PyPI) is not enough, and name collisions will become a frequent headache. - Yury _______________________________________________ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com