[Python-Dev] Iterator version of contextlib.nested

Hagen Fürstenau hfuerstenau at gmx.net
Sun Jun 14 10:18:28 CEST 2009


> 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?

I'm not sure what that would buy us. For the use case I mentioned it
would be just as annoying to get a PendingDeprecationWarning. But if the
warning was completely removed now, nested could still get deprecated in
3.2 as soon as some better mechanism for a variable number of managers
has been provided.

- Hagen


More information about the Python-Dev mailing list