25 Commits (547298c94cd491dbfaa7bc5f968c2bdcf91588cc)

Author SHA1 Message Date
Nick Coghlan 77452fc121 Close #14969: Improve the handling of exception chaining in contextlib.ExitStack 14 years ago
Nick Coghlan a5bd2a18ce Close #14963: Use an iterative algorithm in contextlib.ExitStack.__exit__ (Patch by Alon Horev) 14 years ago
Nick Coghlan 3267a30de1 Close #13585: add contextlib.ExitStack to replace the ill-fated contextlib.nested API 14 years ago
Benjamin Peterson 274271d1ae remove unused imports (closes #12432) 15 years ago
Nick Coghlan fdc2c5596e Remove trailing whitespace 15 years ago
Nick Coghlan 0ded3e307b Issue #11647: allow contextmanager objects to be used as decorators as described in the docs. Initial patch by Ysj Ray. 15 years ago
Antoine Pitrou 67b212e608 Issue #10859: Make `contextlib.GeneratorContextManager` officially 15 years ago
Michael Foord b3a8984488 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. 16 years ago
Benjamin Peterson 04e40c1b48 remove nested from __all__ 17 years ago
Raymond Hettinger 9c4d0edd64 Removed contextlib.nested() 17 years ago
Nick Coghlan b7706b58fa Merged revisions 73518-73519 via svnmerge from 17 years ago
Raymond Hettinger fde29be4d7 Issue 6256: Fix stacklevel in warning message. 17 years ago
Raymond Hettinger 91e3b9d89d Deprecate contextlib.nested(). The with-statement now provides this functionality directly. 17 years ago
Christian Heimes 81ee3efede 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 18 years ago
Guido van Rossum 2cc30daa86 Merged revisions 58742-58816 via svnmerge from 18 years ago
Collin Winter c59dacdbd8 Fix a poorly-translated raise statement in contextlib. 19 years ago
Collin Winter 828f04ac3f Issue #1066: implement PEP 3109, 2/3 of PEP 3134. 19 years ago
Guido van Rossum 04110fb859 Merged revisions 57221-57391 via svnmerge from 19 years ago
Georg Brandl a18af4e7a2 PEP 3114: rename .next() to .__next__() and add next() builtin. 19 years ago
Guido van Rossum b940e113bf SF patch 1631942 by Collin Winter: 19 years ago
Thomas Wouters 477c8d5e70 Much-needed merge (using svnmerge.py this time) of trunk changes into p3yk. 20 years ago
Thomas Wouters 49fd7fa443 Merge p3yk branch with the trunk up to revision 45595. This breaks a fair 20 years ago
Guido van Rossum f669436189 Um, I thought I'd already checked this in. 20 years ago
Guido van Rossum a9f068726f Fix a bug in nested() - if one of the sub-context-managers swallows the 20 years ago
Guido van Rossum 1a5e21e033 Updates to the with-statement: 20 years ago