Source

sandbox/doc-theme / Lib / contextlib.py

Author Commit Message Labels Comments Date
Benjamin Peterson
remove unused imports (closes #12432)
Nick Coghlan
Remove trailing whitespace
Branches
3.2
Nick Coghlan
Issue #11647: allow contextmanager objects to be used as decorators as described in the docs. Initial patch by Ysj Ray.
Branches
3.2
Georg Brandl
Dummy-merge 2.6 branch into 2.7 branch.
Branches
2.7
Georg Brandl
Dummy-merge 2.5 branch into 2.6 branch.
Branches
2.6
Antoine Pitrou
Issue #10859: Make `contextlib.GeneratorContextManager` officially
Michael Foord
Issue 9110. Adding ContextDecorator to contextlib. This enables the creation of APIs that act as decorators as well as context managers. contextlib.contextmanager changed to use ContextDecorator.
Benjamin Peterson
remove nested from __all__
Raymond Hettinger
Removed contextlib.nested()
Nick Coghlan
Merged revisions 73518-73519 via svnmerge from
Nick Coghlan
Remove markup from docstring
Branches
legacy-trunk
Nick Coghlan
Issue 6288: Update contextlib.nested() docstring to reflect new documentation
Branches
legacy-trunk
Raymond Hettinger
Issue 6256: Fix stacklevel in warning message.
Branches
legacy-trunk
Raymond Hettinger
Issue 6256: Fix stacklevel in warning message.
Raymond Hettinger
Deprecate contextlib.nested(). The with-statement now provides this functionality directly.
Branches
legacy-trunk
Raymond Hettinger
Deprecate contextlib.nested(). The with-statement now provides this functionality directly.
Christian Heimes
Merged revisions 62425-62429,62434-62436,62441,62444,62446-62448,62450-62455,62463,62465-62466,62469,62474,62476-62478,62480,62485,62492,62497-62498,62500,62507,62513-62514,62516,62521,62531,62535,62545-62546,62548-62551,62553-62559,62569,62574,62577,62593,62595,62604-62606,62608,62616,62626-62627,62636,62638,62644-62645,62647-62648,62651-62653,62656,62661,62663,62680,62686-62687,62696,62699-62703,62711 via svnmerge from
Georg Brandl
#1748: use functools.wraps instead of rolling own metadata update.
Branches
legacy-trunk
Nick Coghlan
Fix issue #1705170 (backport from trunk)
Branches
2.5
Guido van Rossum
Merged revisions 58742-58816 via svnmerge from
Nick Coghlan
Fix for bug 1705170 - contextmanager swallowing StopIteration (2.5 backport candidate)
Branches
legacy-trunk
Collin Winter
Fix a poorly-translated raise statement in contextlib.
Collin Winter
Issue #1066: implement PEP 3109, 2/3 of PEP 3134.
Guido van Rossum
Merged revisions 57221-57391 via svnmerge from
Georg Brandl
Use try-except-finally in contextlib.
Branches
legacy-trunk
Georg Brandl
PEP 3114: rename .next() to .__next__() and add next() builtin.
Guido van Rossum
SF patch 1631942 by Collin Winter:
Thomas Wouters
Much-needed merge (using svnmerge.py this time) of trunk changes into p3yk.
Nick Coghlan
Finish bringing SVN into line with latest version of PEP 343 by getting rid of all remaining references to context objects that I could find. Without a __context__() method context objects no longer exist. Also get test_with working again, and adopt a suggestion from Neal for decimal.Context.get_manager()
Branches
legacy-trunk
Guido van Rossum
Get rid of __context__, per the latest changes to PEP 343 and python-dev
Branches
legacy-trunk
  1. Prev
  2. 1
  3. 2
  4. Next