[ZODB-Dev] Re: [Zope-Checkins] CVS: ZODB3/ZODB/FileStorage -fspack.py:1.3

Dieter Maurer dieter at handshake.de
Tue Jan 20 15:07:05 EST 2004


John Belmonte wrote at 2004-1-19 15:45 -0500:
>Tim Peters wrote:
>> I'm personally not keen on hiding exceptions by magic:  if I try to pack,
>> and pass arguments such that nothing actually changes, it's unclear whether
>> I made a mistake or don't care.  Raising an exception lets me take
>> appropriate action either way; hiding the exception leaves me clueless if I
>> actually made a mistake.
>
>Is "no changes have been made since the last pack" really an error in 
>the first place?

I do not think so.

-- 
Dieter



More information about the ZODB-Dev mailing list