On Sat, Feb 9, 2013 at 3:44 AM, Guido van Rossum firstname.lastname@example.org wrote:
On Fri, Feb 8, 2013 at 1:06 AM, Antoine Pitrou email@example.com 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.