This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author fdrake
Recipients christian.heimes, fdrake, pitrou, tarek, tim.peters
Date 2009-02-14.14:30:59
SpamBayes Score 6.854108e-10
Marked as misclassified No
Message-id <1234621861.05.0.0877163107343.issue935117@psf.upfronthosting.co.za>
In-reply-to
Content
Antoine: I agree programmers shouldn't try to create situations like this.

Consider however an application assembled using a build tool like
zc.buildout, which installs each package into a separate installation
location (based on setuptools and easy_install).  If the application
uses several packages from the "foo" namespace (to keep with the
original names from the report), there will be directories matching the
first and third packages from the example.

Now, further development on the application may cause a 3rd-party
package named Foo to be used.  This name is not the application
programmer's to select, and the volume of code from the "foo" namespace
may be too large to modify; it may represent 3rd party code (for
example, the "zope" namespace package contains many widely used
examples; if used at all, many are likely to be used).

So I think the original use case stands, and may even be more important
than ever given the widespread use of "namespace" packages.

This also suggests that developers should check for the existence of
packages of similar name before releasing code, in order to avoid this
situation.

(I'm disassociating msg20510, since roundup doesn't screw up the tree in
the original report, so that message no longer adds anything useful.)
History
Date User Action Args
2009-02-14 14:31:01fdrakesetrecipients: + fdrake, tim.peters, pitrou, christian.heimes, tarek
2009-02-14 14:31:01fdrakesetmessageid: <1234621861.05.0.0877163107343.issue935117@psf.upfronthosting.co.za>
2009-02-14 14:31:00fdrakelinkissue935117 messages
2009-02-14 14:30:59fdrakecreate