
June 15, 2009
7:29 p.m.
2009/6/15 Raymond Hettinger <python@rcn.com>:
P.S. If you switch to PendingDeprecationWarning, the example in the docs should probably be switched to show the one valid use case (passing in a prepackaged nest of context managers). Right now, the current example just shows the hazardous pattern that is much better served by the new with-statement syntax.
+1 I think this should be done anyway. -- Regards, Benjamin