summaryrefslogtreecommitdiff
path: root/Lib/contextlib.py
AgeCommit message (Expand)AuthorLines
2017-06-09bpo-30266: support "= None" pattern in AbstractContextManager (GH-1448) (GH-2...Mariatta-3/+2
2017-04-13[3.6] bpo-29692: contextlib.contextmanager may incorrectly unchain RuntimeErr...Mariatta-6/+6
2017-04-12[3.6] Clarify exception handler scope in contextlib (GH-1103)Mariatta-1/+2
2017-02-12bpo-27122: Fix comment to point to correct issue number (#48)Berker Peksag-1/+1
2016-06-14Issue #27123: When an exception is raised within the context beingGregory P. Smith-0/+3
2016-06-14Issue #27123: When an exception is raised within the context beingGregory P. Smith-0/+3
2016-04-08Normalize whitespaceBrett Cannon-1/+1
2016-04-08Issue #25609: Introduce contextlib.AbstractContextManager andBrett Cannon-11/+31
2015-06-28Issue #24336: The contextmanager decorator now works with functions withSerhiy Storchaka-3/+3
2015-06-28Issue #24336: The contextmanager decorator now works with functions withSerhiy Storchaka-3/+3
2015-05-09PEP 479: Change StopIteration handling inside generators.Yury Selivanov-2/+9
2014-11-28Issue #22389: Add contextlib.redirect_stderr().Berker Peksag-13/+27
2014-01-24Merge removal of issue 20317 debugging code from 3.3Nick Coghlan-3/+1
2014-01-24Issue 20317: Remove debugging code from contextlibNick Coghlan-3/+1
2014-01-22Merge #20317 from 3.3Nick Coghlan-1/+9
2014-01-22Issue #20317: Don't create a reference loop in ExitStackNick Coghlan-1/+9
2013-11-03Close #19403: make contextlib.redirect_stdout reentrantNick Coghlan-8/+4
2013-10-26Close #19330 by using public classes in contextlibNick Coghlan-41/+39
2013-10-20contextlib doc updates and refactoringNick Coghlan-28/+51
2013-10-17Close #19266: contextlib.ignore -> contextlib.suppressNick Coghlan-4/+4
2013-10-10Rename contextlib.ignored() to contextlib.ignore().Raymond Hettinger-3/+3
2013-10-10Issue #15805: Add contextlib.redirect_stdout()Raymond Hettinger-1/+39
2013-10-01Merge #19092 from 3.3Nick Coghlan-3/+15
2013-10-01Close #19092: ExitStack now reraises exceptions from __exit__Nick Coghlan-3/+15
2013-08-17#18705: merge with 3.3.Ezio Melotti-1/+1
2013-03-10Issue #15806: Add contextlib.ignored().Raymond Hettinger-1/+13
2012-12-18Issue #16714: use 'raise' exceptions, don't 'throw'.Andrew Svetlov-1/+1
2012-06-01Close #14969: Improve the handling of exception chaining in contextlib.ExitStackNick Coghlan-3/+13
2012-06-01Close #14963: Use an iterative algorithm in contextlib.ExitStack.__exit__ (Pa...Nick Coghlan-26/+15
2012-05-21Close #13585: add contextlib.ExitStack to replace the ill-fated contextlib.ne...Nick Coghlan-5/+121
2011-06-28remove unused imports (closes #12432)Benjamin Peterson-1/+0
2011-05-06Remove trailing whitespaceNick Coghlan-2/+2
2011-05-05Issue #11647: allow contextmanager objects to be used as decorators as descri...Nick Coghlan-4/+24
2011-01-08Issue #10859: Make `contextlib.GeneratorContextManager` officiallyAntoine Pitrou-2/+2
2010-06-30Issue 9110. Adding ContextDecorator to contextlib. This enables the creation ...Michael Foord-2/+13
2009-07-01remove nested from __all__Benjamin Peterson-1/+1
2009-07-01Removed contextlib.nested()Raymond Hettinger-45/+0
2009-06-23Merged revisions 73518-73519 via svnmerge fromNick Coghlan-10/+8
2009-06-10Issue 6256: Fix stacklevel in warning message.Raymond Hettinger-1/+1
2009-05-28Deprecate contextlib.nested(). The with-statement now provides this function...Raymond Hettinger-0/+3
2008-05-04Merged revisions 62425-62429,62434-62436,62441,62444,62446-62448,62450-62455,...Christian Heimes-6/+2
2007-11-02Merged revisions 58742-58816 via svnmerge fromGuido van Rossum-0/+4
2007-09-01Fix a poorly-translated raise statement in contextlib.Collin Winter-1/+2
2007-08-31Issue #1066: implement PEP 3109, 2/3 of PEP 3134.Collin Winter-1/+1
2007-08-24Merged revisions 57221-57391 via svnmerge fromGuido van Rossum-9/+8
2007-04-21PEP 3114: rename .next() to .__next__() and add next() builtin.Georg Brandl-2/+2
2007-01-10SF patch 1631942 by Collin Winter:Guido van Rossum-1/+1
2006-05-27Much-needed merge (using svnmerge.py this time) of trunk changes into p3yk.Thomas Wouters-14/+14
2006-04-21Merge p3yk branch with the trunk up to revision 45595. This breaks a fairThomas Wouters-3/+17
2006-03-10Um, I thought I'd already checked this in.Guido van Rossum-6/+5