On Sun, Dec 09, 2012 at 01:51:09PM +1100, Chris Angelico wrote:
On Sun, Dec 9, 2012 at 1:11 PM, Steven D'Aprano
wrote: Why would a software package called "Spam" install a top-level module called "Jam" rather than "Spam"? Isn't the whole point of Python packages to solve this namespace problem?
That would require/demand that the software package MUST define a module with its own name, and MUST NOT define any other top-level modules, and also that package names MUST be unique. (RFC 2119 keywords.) That would work, as long as those restrictions are acceptable.
/me notes that setuptools itself is an example of a package that violates this rule )setuptools and pkg_resources). No objections to "That would work, as long as those restrictions are acceptable."... that seems to sum up where we're at. -Toshio