[Zope-dev] BUG: ValueError while changing height of the template edit window
Guido van Rossum
guido@python.org
Tue, 10 Dec 2002 15:14:33 -0500
> Can we get the same patch without the generic "except:", please?
>
> the last thing I want is a database corruption caused by resizing the
> Edit box...
Why would this particular except clause cause database corruption?
int() happens to raise a bunch of different exceptions, and I think
an unqualified except: clause is okay here (though it needs a
comment).
Also note that the unpatched code has an unqualified except: already,
so you can't really blame Dmitry.
--Guido van Rossum (home page: http://www.python.org/~guido/)