[ZODB-Dev] Fwd: [Zope3-dev] directory hierarchy proposal (Martijn Faassen)

Casey Duncan casey@zope.com
Tue, 10 Dec 2002 13:31:52 -0500


On Tuesday 10 December 2002 12:03 pm, Guido van Rossum wrote:
> > A related matter is the organziation of modules and packages within
> > ZODB.  I had beent thinking that individual persistent data types
> > should be moved to subpackages like BTrees.  Examples:
> >=20
> > from zope.persistence.dict import Dict
> > from zope.persistence.btrees.oobtree import OOBTree
> > from zope.persistence.code import Module
> >=20
> > What do you think of these changes?  My biggest reservation is the
> > huge string you need to get at a BTree.  Perhaps it would be better t=
o
> > do
> >=20
> > from zope.persistence.btrees import OOBTree
> >=20
> > The idea here is to create a large btrees package that loads all
> > possible BTrees.
>=20
> I would propose to move the btrees module/package out of the
> persistence package.  Then you could write
>=20
> from zope.btrees import OOBTree
>=20
> I see no reason why the btrees package should live inside the
> persistence package: the persistence package is usable just fine
> without btrees.

I like either one of those ideas better than the first one. So at the lea=
st,=20
we should combine the separate OI, OO and II modules IMO.

-Casey