]> git.ipfire.org Git - ipfire-2.x.git/blobdiff - src/patches/python-pycurl-fix-do_curl_reset-refcount.patch
Drop pycurl
[ipfire-2.x.git] / src / patches / python-pycurl-fix-do_curl_reset-refcount.patch
diff --git a/src/patches/python-pycurl-fix-do_curl_reset-refcount.patch b/src/patches/python-pycurl-fix-do_curl_reset-refcount.patch
deleted file mode 100644 (file)
index 7e20b15..0000000
+++ /dev/null
@@ -1,24 +0,0 @@
---- a/src/pycurl.c     
-+++ a/src/pycurl.c     
-@@ -1452,6 +1452,7 @@ do_curl_reset(CurlObject *self)
-         }
-     }
-+    Py_INCREF(Py_None);
-     return Py_None;
- }
---- a/tests/test_internals.py  
-+++ a/tests/test_internals.py  
-@@ -245,6 +245,11 @@ if 1 and gc:
-     if opts.verbose >= 1:
-         print "Tracked objects:", len(gc.get_objects())
-+if 1:
-+    # Ensure that the refcounting error in "reset" is fixed:
-+    for i in xrange(100000):
-+        c = Curl()
-+        c.reset()
- # /***********************************************************************
- # // done