Re: [Python-Dev] [Python-checkins] cpython: Fix potential NameError in multiprocessing.Condition.wait()

2012-06-05 Thread shibturn
On 05/06/2012 6:59am, Eli Bendersky wrote: Can you add a testcase for this? ... OK. BTW, I should have written UnboundLocalError not NameError: >>> import multiprocessing as mp [81047 refs] >>> c = mp.Condition() [88148 refs] >>> with mp.Condition() as c: c.wait() ... Traceback (most recent

Re: [Python-Dev] cpython: Make AcquirerProxy.acquire() support timeout argument

2012-05-06 Thread shibturn
On 06/05/2012 5:07pm, Antoine Pitrou wrote: On Sun, 06 May 2012 17:56:55 +0200 summary: Make AcquirerProxy.acquire() support timeout argument Should it have a Misc/NEWS entry? (and a doc addition perhaps?) Since proxies for locks/semaphores are supposed to work the same way as the proxie

Re: [Python-Dev] Windows build - fixing compile warnings before VS2010

2012-02-22 Thread shibturn
On 22/02/2012 3:32am, Brian Curtin wrote: 1. Is anyone opposed to moving up to Level 4 warnings? At that level I think it complains about common things like the "do {...} while (0)" idiom, and the unreferenced self parameter of builtin functions. Presumably you would have to disable those s