summaryrefslogtreecommitdiff
path: root/Lib/contextlib.py
AgeCommit message (Expand)AuthorLines
2009-06-23Remove markup from docstringNick Coghlan-2/+2
2009-06-23Issue 6288: Update contextlib.nested() docstring to reflect new documentationNick Coghlan-10/+8
2009-06-10Issue 6256: Fix stacklevel in warning message.Raymond Hettinger-1/+1
2009-05-29Deprecate contextlib.nested(). The with-statement now provides this function...Raymond Hettinger-0/+3
2008-04-30#1748: use functools.wraps instead of rolling own metadata update.Georg Brandl-6/+2
2007-11-02Fix for bug 1705170 - contextmanager swallowing StopIteration (2.5 backport c...Nick Coghlan-0/+4
2007-08-23Use try-except-finally in contextlib.Georg Brandl-9/+8
2006-05-03Finish bringing SVN into line with latest version of PEP 343 by getting rid o...Nick Coghlan-8/+8
2006-05-02Get rid of __context__, per the latest changes to PEP 343 and python-devGuido van Rossum-8/+2
2006-04-29Fix docstring for contextfactory; mentioned old contextmanager name.Brett Cannon-1/+1
2006-04-25Move the PEP 343 documentation and implementation closer to theNick Coghlan-14/+17
2006-04-24Fix contextlib.nested to cope with exit methods raising and handling exceptionsNick Coghlan-1/+4
2006-04-10Minor clarity edit to contextlib per Guido's request.Phillip J. Eby-2/+2
2006-04-03Fix typos; enhance comments on patch for SF #1462485.Phillip J. Eby-2/+3
2006-04-03Fix SF#1462485: StopIteration raised in body of 'with' statement suppressedPhillip J. Eby-1/+3
2006-03-28Fix contextlib not copying function attributesPhillip J. Eby-0/+1
2006-03-25More extensive comment on __exit__ handling, per Guido's request.Phillip J. Eby-0/+7
2006-03-25Fix a problem with @contextmanager not detecting a broken generatorPhillip J. Eby-1/+4
2006-03-10Um, I thought I'd already checked this in.Guido van Rossum-6/+5
2006-03-01Fix a bug in nested() - if one of the sub-context-managers swallows theGuido van Rossum-1/+4
2006-02-28Updates to the with-statement:Guido van Rossum-0/+138