Re: [Yum-devel] [PATCH] Make _curl_cache thread-local.

2011-06-27 Thread seth vidal
On Mon, 2011-06-27 at 17:29 +0200, Zdeněk Pavlas wrote: > While libcurl is (supposed to be) thread-safe, pycurl.Curl() object cannot > be shared between multiple threads. > --- > urlgrabber/grabber.py | 14 -- > 1 files changed, 8 insertions(+), 6 deletions(-) > > diff --git a/urlgr

[Yum-devel] [PATCH] Make _curl_cache thread-local.

2011-06-27 Thread Zdeněk Pavlas
While libcurl is (supposed to be) thread-safe, pycurl.Curl() object cannot be shared between multiple threads. --- urlgrabber/grabber.py | 14 -- 1 files changed, 8 insertions(+), 6 deletions(-) diff --git a/urlgrabber/grabber.py b/urlgrabber/grabber.py index f6f57bd..26c0d0b 100644