[Python-Dev] Iterator version of contextlib.nested (original) (raw)
Benjamin Peterson benjamin at python.org
Sun Jun 14 16:24:46 CEST 2009
- Previous message: [Python-Dev] Iterator version of contextlib.nested
- Next message: [Python-Dev] Summary of Python tracker Issues
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
2009/6/13 Nick Coghlan <ncoghlan at gmail.com>:
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(*mymanagers): 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?
Yes, I think that's a good idea. It will also help people who have to use contextlib.nested() for backwards compatibility.
-- Regards, Benjamin
- Previous message: [Python-Dev] Iterator version of contextlib.nested
- Next message: [Python-Dev] Summary of Python tracker Issues
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]