[Python-checkins] CVS: python/dist/src/Lib cgi.py,1.69,1.70

Jeremy Hylton jeremy@zope.com
Sat, 23 Mar 2002 13:11:28 -0500


>>>>> "SM" == Skip Montanaro <montanaro@users.sourceforge.net> writes:

  SM> Update of /cvsroot/python/python/dist/src/Lib In directory
  SM> usw-pr-cvs1:/tmp/cvs-serv22349

  SM> Modified Files:
  SM> 	cgi.py
  SM> Log Message: tighten up except - only ValueError can be raised
  SM> in this situation

Guido recently observed that he doesn't know which exceptions can be
raised by int() -- certainly ValueError and OverflowError, perhaps
others.  Should this try/except only catch ValueError?

Jeremy