Re: [PATCH master] RAPI client: Don't re-use PycURL object

2010-08-10 Thread Guido Trotter
On Fri, Jul 30, 2010 at 2:44 PM, Michael Hanselmann wrote: > With this patch, a new PycURL object will be created for each request. > This should make the RAPI client safe for simultaneous calls from > multiple threads. Unittests are adjusted accordingly. > > An unnecessary variable assignment is

Re: [PATCH master] RAPI client: Don't re-use PycURL object

2010-08-09 Thread Michael Hanselmann
Am 30. Juli 2010 20:44 schrieb Michael Hanselmann : > With this patch, a new PycURL object will be created for each request. > This should make the RAPI client safe for simultaneous calls from > multiple threads. Unittests are adjusted accordingly. > > An unnecessary variable assignment is also rem

[PATCH master] RAPI client: Don't re-use PycURL object

2010-07-30 Thread Michael Hanselmann
With this patch, a new PycURL object will be created for each request. This should make the RAPI client safe for simultaneous calls from multiple threads. Unittests are adjusted accordingly. An unnecessary variable assignment is also removed from the unittest script. This patch survived a small Q