Backports and enhancements for the contextlib module
copied from cf-staging / contextlib2conda install conda-forge::contextlib2
conda install conda-forge/label/cf201901::contextlib2
conda install conda-forge/label/cf202003::contextlib2
conda install conda-forge/label/gcc7::contextlib2