- Template modules now generate a JSON "metadata" structure at the bottom
of the source file which includes parseable information about the templates' source file, encoding etc. as well as a mapping of module source lines to template lines, thus replacing the "# SOURCE LINE" markers throughout the source code. The structure also indicates those lines that are explicitly not part of the template's source; the goal here is to allow integration with coverage tools.
Showing
- doc/build/changelog.rst 11 additions, 0 deletionsdoc/build/changelog.rst
- mako/codegen.py 37 additions, 5 deletionsmako/codegen.py
- mako/compat.py 5 additions, 0 deletionsmako/compat.py
- mako/exceptions.py 18 additions, 8 deletionsmako/exceptions.py
- mako/pygen.py 9 additions, 2 deletionsmako/pygen.py
- setup.py 10 additions, 3 deletionssetup.py
Loading
Please register or sign in to comment