[proxy] bugs.python.org← back | site home | direct (HTTPS) ↗ | proxy home | ◑ dark◐ light

Message 286411 - Python tracker

Message286411

Author veky
Recipients thehesiod, veky
Date 2017-01-28.14:16:22
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1485612982.87.0.994158940929.issue29302@psf.upfronthosting.co.za>
In-reply-to
Content
An example from "real life": I recently needed this when implementing a demo of dining philosophers using asyncio (when the order of locks should depend on comparison of fork ids, not be static). Of course, it wasn't hard to implement it directly, but still, it would be nice if I had it in stdlib.

Also, yes, it would probably be nicer if there was only one ExitStack with push_async and similar methods.
History
Date User Action Args
2017-01-28 14:16:22vekysetrecipients: + veky, thehesiod
2017-01-28 14:16:22vekysetmessageid: <1485612982.87.0.994158940929.issue29302@psf.upfronthosting.co.za>
2017-01-28 14:16:22vekylinkissue29302 messages
2017-01-28 14:16:22vekycreate