[ZODB-Dev] RFC: Attributes and Options for IndexedCatalog
Nicholas Henke
henken@seas.upenn.edu
Tue, 28 Jan 2003 14:50:45 -0500
On Tue, 28 Jan 2003 17:25:10 -0200
Christian Reis <kiko@async.com.br> wrote:
[BIG_SNIP]
> b. We could merge all existing _ic_* options into a single
> _ic_options field. I'm in favor of this because I consider it to
> be exceptionally clean:
>
> class Host:
> name = StringType
> address = TupleType
> arch = StringType
> mhz = IntType
> os = OpSys # a class
> daemons = HostDaemonCollection
> _ic_options = [opt('name', unique=1),
> opt('address', unique=1),
> opt('daemons', weak=1)]
b) seems to be my favorite -- If I am understanding you correctly, you
are just hoping to clean up the _ic_* namespace right? Well if so, this
reduces all to one attribute, and doesn't remove any configurability (
is that really a word? :) ).
So... B it is.
Nic
--
Nicholas Henke
Linux Cluster Systems Programmer
Liniac Project - Univ. of Pennsylvania