diff -r 89665cc05592 Modules/_datetimemodule.c --- a/Modules/_datetimemodule.c Tue Jul 22 21:29:52 2014 +0100 +++ b/Modules/_datetimemodule.c Tue Jul 22 21:32:52 2014 -0700 @@ -897,11 +897,11 @@ } } else { - Py_DECREF(offset); PyErr_Format(PyExc_TypeError, "tzinfo.%s() must return None or " "timedelta, not '%.200s'", name, Py_TYPE(offset)->tp_name); + Py_DECREF(offset); return NULL; }