[Python-ideas] PEP 3156 / Tulip: Synchronization primitives
Nick Coghlan
ncoghlan at gmail.com
Sat Feb 9 04:26:56 CET 2013
On Sat, Feb 9, 2013 at 3:44 AM, Guido van Rossum <guido at python.org> wrote:
> On Fri, Feb 8, 2013 at 1:06 AM, Antoine Pitrou <solipsis at pitrou.net> wrote:
>> I think Twisted has DeferredSemaphore for the same reasons.
>
> So, is anyone against adding Nikolay's locks implementation to PEP
> 3156? It's a pretty simple API, and looks similar to the locks in
> threading.py except for a sprinkling of "yield from". It does not
> depend on Tulip internals.
Common need + easy to get the implementation details wrong = sounds
like a good candidate for inclusion to me.
Cheers,
Nick.
--
Nick Coghlan | ncoghlan at gmail.com | Brisbane, Australia
More information about the Python-ideas
mailing list