Minor code modernisations in Tempita module to use the with-statement.
Minor code modernisations in Tempita module to use the with-statement.

scoder/cython,cython/cython,da-woods/cython,scoder/cython,cython/cython,da-woods/cython,da-woods/cython,da-woods/cython,cython/cython,cython/cython,scoder/cython,scoder/cython