comparison Python/mysnprintf.c @ 28571:5fbdcaef9dda legacy-trunk

PyErr_NormalizeException(): in the type==NULL test, we should simply return. Setting an exception can mess with the exception state, and continuing is definitely wrong (since type is dereferenced later on). Some code that calls this seems to be prepared for a NULL exception type, so let's be safe rather than sorry and simply assume there's nothing to normalize in this case.
author Guido van Rossum <guido@python.org>
date Thu, 10 Apr 2003 20:29:48 +0000
parents 8af86a952b2c
children 2925b568aacc a8cc8e6f0c1a
comparison
equal deleted inserted replaced
28570:bfc7a9fa34d6 28571:5fbdcaef9dda