aboutsummaryrefslogtreecommitdiffstats
path: root/doc/build/unreleased/codeerr.rst
blob: 2497896ebf545e6354051f774f6ac46106baf3c7 (plain)
1
2
3
4
5
6
7
8
9
10
.. change::
    :tags: bug, exceptions

    Improved the line-number tracking for source lines inside of Python  ``<%
    ... %>`` blocks, such that text- and HTML-formatted exception traces such
    as that of  :func:`.html_error_template` now report the correct source line
    inside the block, rather than the first line of the block itself.
    Exceptions in ``<%! ... %>`` blocks which get raised while loading the
    module are still not reported correctly, as these are handled before the
    Mako code is generated.  Pull request courtesy Martin von Gagern.