[ZCM] [ZC] 2359/ 3 Resolve "Backport Products as namespace fix to 2.10"
"Collector: Zope Bugs, Features, and Patches ..." <[email protected]> Tue, 25 Sep 2007 11:13:53 -0400
| Newsgroups | gmane.comp.web.zope.devel.collector-monitor |
|---|---|
| Message-ID | <[email protected]> |
Issue #2359 Update (Resolve) "Backport Products as namespace fix to 2.10" Status Resolved, Zope/bug+solution medium To followup, visit: http://www.zope.org/Collectors/Zope/2359 ============================================================== = Resolve - Entry #3 by tseaver on Sep 25, 2007 11:13 am Status: Pending => Resolved Now checked in on the 2.10 branch: http://svn.zope.org/Zope/branches/2.10/?rev=80016&view=rev ________________________________________ = Comment - Entry #2 by philikon on Sep 24, 2007 2:13 pm +1 ________________________________________ = Request - Entry #1 by tseaver on Sep 24, 2007 1:34 pm Uploaded: "zope-2.10-egg_products.patch" - http://www.zope.org/Collectors/Zope/2359/zope-2.10-egg_products.patch/view The "packages-as-products" code is ugly and buggy in 2.10.4: it causes an initial startup to fail when using ZEO, for instance. I propose backporting the changes required to make Products a "pure" namespace package, and therefore also fixing the startup problem. A nice side-effect of this fix is that products installed on the PYTHONPATH as eggs (in the 'Products' namespace package) will now be found and initialized. Patch attached, backporting changes to Products/__init__.py, OFS/Application.py, and Products/Five/fiveconfigure.py from the Zope2 trunk. ==============================================================