[Python-Dev] pkgutil, pkg_resource and Python 3.0 name space packages

Steven Bethard steven.bethard at gmail.com
Sun Jan 6 19:00:47 CET 2008


On Jan 6, 2008 8:33 AM, Christian Heimes <lists at cheimes.de> wrote:
> * PJE: Does pkg_resource have an easy way to overwrite a package in a
> name space package? E.g. an user wants to overwrite Python's
> databases.sqlite with a newer version of sqlite. Can he simply do it by
> inserting a package into sys.path before Lib/ ?

Do we really want to encourage this?  Wouldn't that just introduce
more pyxml-like nightmares?  I've been bitten way too many times by
pyxml overwriting the regular xml package and causing version
incompatibilities.  I'd hate for this kind of thing to become common
practice.

Steve
-- 
I'm not *in*-sane. Indeed, I am so far *out* of sane that you appear a
tiny blip on the distant coast of sanity.
        --- Bucky Katt, Get Fuzzy


More information about the Python-Dev mailing list