7 Feb
2012
7 Feb
'12
4:54 a.m.
On Tue, Feb 7, 2012 at 6:08 AM, Yury Selivanov
Well, native syntax would be much useful, but ContextStack seems like a decent workaround. Will it be included in the stdlib (py3.3)?
Most likely (I'm the primary maintainer of contextlib, so it's basically my call). Feedback on what it's like to use in practice would definitely help with that - I put it up on PyPI as contextlib2 so people could try it out and help me avoid repeating the mistakes we made with nested() (which was an error prone bug trap). Cheers, Nick. -- Nick Coghlan | ncoghlan@gmail.com | Brisbane, Australia