Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 437738 | Differences between
and this patch

Collapse All | Expand All

(-)pycurl-7.19.0/src/pycurl.c.reset-refcount (+1 lines)
Lines 1473-1478 do_curl_reset(CurlObject *self) Link Here
1473
     * return value. */
1473
     * return value. */
1474
    util_curl_init_handle(self);
1474
    util_curl_init_handle(self);
1475
1475
1476
    Py_INCREF(Py_None);
1476
    return Py_None;
1477
    return Py_None;
1477
}
1478
}
1478
1479
(-)pycurl-7.19.0/tests/test_internals.py.reset-refcount (+5 lines)
Lines 245-250 if 1 and gc: Link Here
245
    if opts.verbose >= 1:
245
    if opts.verbose >= 1:
246
        print "Tracked objects:", len(gc.get_objects())
246
        print "Tracked objects:", len(gc.get_objects())
247
247
248
if 1:
249
    # Ensure that the refcounting error in "reset" is fixed:
250
    for i in xrange(100000):
251
        c = Curl()
252
        c.reset()
248
253
249
# /***********************************************************************
254
# /***********************************************************************
250
# // done
255
# // done

Return to bug 437738