Skip to content
This repository

Nov 07, 2010

  1. Ian Lewis

    Changed naked except statements to catch only subclasses of Exception.

    Naked except statements catch subclasses of BaseException which
    can occur anywhere (i.e. KeyboardInterrupt).
    
    Unexpected issues can occur when the exception happens during the
    loading of a module. The python interpreter doesn't know about a
    module's failed load and does not remove it from sys.modules. This
    is particularly a problem on AppEngine where python will think the
    module is loaded but in fact the module load has failed.
    
    See: http://code.google.com/p/googleappengine/issues/detail?id=1409
    Signed-off-by: Armin Ronacher <armin.ronacher@active-4.com>
    authored October 31, 2010 mitsuhiko committed November 07, 2010
Something went wrong with that request. Please try again.