[Zope3-dev] Re: ObjectHub

Guido van Rossum guido@python.org
Mon, 09 Dec 2002 09:53:39 -0500


> > Actually, I just realized that ObjectHubError is fine.  This error is
> > only raised (looking from the code) for the specific error that the
> > location is already registered.
> 
> I thought you were concerned about the expense of raising and catching 
> an exception for what is (for the registration utility) an unexceptional 
> condition.

Maybe I was, but I'm not now -- the exception overhead will be drowned
by all the other work done for each object.

> Later today, I'll summarise this whole thread into a concise email. I 
> think there were some good points made.

That would be great -- I've lost track of it.

--Guido van Rossum (home page: http://www.python.org/~guido/)