A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2009-June/090065.html below:

[Python-Dev] Iterator version of contextlib.nested

[Python-Dev] Iterator version of contextlib.nested [Python-Dev] Iterator version of contextlib.nestedBenjamin Peterson benjamin at python.org
Mon Jun 15 21:29:22 CEST 2009
2009/6/15 Raymond Hettinger <python at 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
More information about the Python-Dev mailing list

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4