19 Jul
2004
19 Jul
'04
6:55 a.m.
Dieter Maurer wrote:
Note that it is *very* dangerous to catch exceptions.
I don't think so...
When you do, your chance is quite high that you make your persistent state inconsistent -- one of the most horrible things that can happen.
Huh? try: myfolder[somevar] except KeyError: myfolder.manage_addProduct... How is that going to result in inconsistent persistent state? Chris -- Simplistix - Content Management, Zope & Python Consulting - http://www.simplistix.co.uk