[ZODB-Dev] ZODB4 Question and perhaps foolish suggestion

Jeff Sasmor jsasmor@gte.net
Thu, 9 Jan 2003 11:55:58 -0500


I just upgraded my project to the current ZODB and I'm delighted to
say that while I can't tell if the ZODB works any better (yet), it
'just worked' as it did before after dropping it in.

Looking forward to ZODB 4, I downloaded it and after poking around in
it for a while found that it's missing something that is in the current
ZODB, namely, Acquisition: __of__ and all that implies.  
Unfortunately for me, perhaps, I use it. 

I was wondering if this feature (and I know some people hate it and
want to get rid of it) is being done away with, and if so, does anyone
have any suggestions about how to recreate it. If not, it's rearchitecture 
time. Sigh.

Now for something completely the same: a possibly foolish, maybe 
even dumb question:

Also, might it not be a good idea to change all function/method arguments 
and other variables with the name 'object' as it may lead to confusion, if not
now perhaps in the future?  object is in __builtin__ after all.

There are a number of these peppered throughout the source. Not trying 
to start a flurry of postings on this, just was stepping 
thru some ZODB code with a debugger and was thinking that this sort of
thing could be confusing to software tools and wetware humans alike,
and might lead to obscure bugs.

Just doing a global s/r on object->obj would retain readability and remove
this (perhaps in my own head) problem.

#--------------------------------
Jeff Sasmor
jeff@sasmor.com