[Python-Dev] Iterator version of contextlib.nested

Nick Coghlan ncoghlan at gmail.com
Sun Jun 14 03:22:37 CEST 2009


Hagen Fürstenau wrote:
> I guess this is much too late for 3.1, but could we then at least
> un-deprecate "contextlib.nested" for now? As it is, you get a
> DeprecationWarning for something like
> 
> with contextlib.nested(*my_managers):
> 
> without any good way to get rid of it.

I actually almost asked for that to be changed to a
PendingDeprecationWarning when it was first added - Benjamin, do you
mind if I downgrade this warning to a pending one post rc2?

Cheers,
Nick.

-- 
Nick Coghlan   |   ncoghlan at gmail.com   |   Brisbane, Australia
---------------------------------------------------------------


More information about the Python-Dev mailing list