Re: [Zope-dev] Re: Bare except dangerous to ZODB? was Re: [Zope-dev] Accept-Charset hearders causing 500 internal server error.[correct but not lenient]

2003-02-12 Thread Toby Dickenson
On Tuesday 11 February 2003 11:04 pm, Leonardo Rochael Almeida wrote: On Tue, 2003-02-11 at 13:19, Shane Hathaway wrote: I'm thinking the veto should be added by Connection.commit() and Connection.setstate() whenever a conflict is about to propagate. What do you think? Maybe I don't

Re: Bare except dangerous to ZODB? was Re: [Zope-dev] Accept-Charset hearders causing 500 internal server error.[correct but not lenient]

2003-02-11 Thread Toby Dickenson
On Monday 10 February 2003 8:47 pm, Shane Hathaway wrote: Great, so there's at least 133 things to examine to see if they could catch a ConflictError. And I only wrote about 15 of those. The rest could be very time-consuming to audit. tal:on-error also catches all exceptions. It could

Bare except dangerous to ZODB? was Re: [Zope-dev] Accept-Charset hearders causing 500 internal server error.[correct but not lenient]

2003-02-10 Thread Paul Winkler
On Mon, Feb 10, 2003 at 06:11:15PM -0200, Leonardo Rochael Almeida wrote: Please, please, please, don't use generic except:. They can cause ZODB corruption if they catch ConflictErrors. Can anyone else confirm or deny??? If true, it needs to be much more widely publicized! $ cd