This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author amaury.forgeotdarc
Recipients amaury.forgeotdarc, jcea, vstinner
Date 2008-09-17.11:25:04
SpamBayes Score 0.00496098
Marked as misclassified No
Message-id <1221650721.73.0.457296195922.issue3885@psf.upfronthosting.co.za>
In-reply-to
Content
Not only in these functions, but anywhere "dummy=" is followed by a
Py_XDECREF(dummy);

And code like this must also be changed (in DB_open):
    if (makeDBError(err)) {
        PyObject *dummy;

        dummy=DB_close_internal(self,0);
        Py_XDECREF(dummy);
        return NULL;
    }
if DB_close_internal() raises an exception it will replace the original
error set by makeDBError(). I'm not sure this is desirable.
History
Date User Action Args
2008-09-17 11:25:21amaury.forgeotdarcsetrecipients: + amaury.forgeotdarc, jcea, vstinner
2008-09-17 11:25:21amaury.forgeotdarcsetmessageid: <1221650721.73.0.457296195922.issue3885@psf.upfronthosting.co.za>
2008-09-17 11:25:05amaury.forgeotdarclinkissue3885 messages
2008-09-17 11:25:05amaury.forgeotdarccreate