xoutil.future.contextlib
- Utilities for with-statement contexts¶
Utilities for with-statement contexts.
This module re-export all symbols from the standard library, with the exception of the function nested.
In Python 2.7, this re-export from the package contextlib2.
This module does not guarantee full compatibility with Exception Chaining and
Embedded Tracebacks
and Context Managers back-ported in Python 2 by contextlib2.
New in version 1.9.5.
The main reason to use this module is to stop using the nested()
function
and use the ExitStack
implementation.