Re: [Zope-dev] ConflictError shouldn't subclass Exception

2005-11-25 Thread Chris McDonough
On Nov 25, 2005, at 2:25 PM, Patrick Gerken wrote: 2005/11/24, Chris Withers [EMAIL PROTECTED]: Interestingly, you can raise things that don't subclass Exception in python. This was discussed before, and I firmly agree with, that zodb conflicts should _not_ sublcass exception. That way,

Re: [Zope-dev] ConflictError shouldn't subclass Exception

2005-11-25 Thread Dieter Maurer
Chris Withers wrote at 2005-11-24 19:34 +: ... and I firmly agree with, that zodb conflicts should _not_ sublcass exception. -1 That way, there's less chance of them being caught by inexperienced programmers putting in try: except Exception: 's. Most people that use an unrestricted try

Re: [Zope-dev] ConflictError in BTreeFolder2

2004-01-27 Thread Chris Withers
Are these patches available anywhere? Have you let Shane know? Chris Florent Guillaume wrote: FYI: I've fixed BTreeFolder2 to properly re-raise ConflictError in _delObject and not swallow it during beforeDelete cleanups. This is the same fix that was done in ObjectManager. Florent

Re: [Zope-dev] ConflictError

2003-03-28 Thread Leonardo Rochael Almeida
On Fri, 2003-03-28 at 06:15, Andre Schubert wrote: Hi all, i have a little problem with the following log-entry in my logfile. 2003-03-28T10:09:18 INFO(0) ZODB conflict error at /foo/bar/tab_kopf (1 conflicts since startup at 2003-03-28T10:09:03). After searching through several

Re: [Zope-dev] ConflictError

2003-03-28 Thread Dieter Maurer
Andre Schubert wrote at 2003-3-28 10:15 +0100: i have a little problem with the following log-entry in my logfile. 2003-03-28T10:09:18 INFO(0) ZODB conflict error at /foo/bar/tab_kopf (1 conflicts since startup at 2003-03-28T10:09:03). After searching through several mailinglists i