| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
Change-Id: I258e9ff77e5a9ac687cd20d33b6d75de7c79b4dc
|
|
|
|
| |
Change-Id: Ia047c7052a6d242c2cf1c7a83981f1e38ea4d928
|
|
|
|
|
|
|
|
|
|
| |
Added a default encoding of "utf-8" when the :class:`.RichTraceback`
object retrieves Python source lines from a Python traceback; as these
are bytes in Python 3 they need to be decoded so that they can be
formatted in the template.
Fixes: #293
Change-Id: I41a5c09422d6500c7cab2423ed14ac951a64e2f4
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
| |
for the template and the module
- turn full_line_map into a list
- add another start source to help with when a render callable
begins
|
|\ |
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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.
|
|/
|
|
|
| |
- drop python 2.4, 2.5 support
- various pep8ing
|
|
|
|
| |
- move CHANGES to changelog.rst
|
| |
|
|
|
|
|
| |
- fix test_exceptions to always call non-pygments tests
- update test for py3k transition
|
|
|
|
|
| |
having some weird unicode issues I can't debug; the meaning of
str.encode() seems to be changing globally somehow
|
| |
|
|
|
|
|
| |
add more litterals, systematicaly use ``.. sourcecode::`` before code samples,
add some ``:func:``, ``:class:`` and so on, fix some links, etc.
|
|
|
|
|
|
| |
fix misspelled words, remove line ending spaces, change ``-`` to ``--``,
add some ``'`` between subject and 'to be' verb (e.g. "it's", "i'm"),
add some ending dots to sentences, change some letters "capitalness", etc.
|
| |
|
|
|
|
| |
- changelog
|
|
|
|
|
|
|
| |
apply Pygments highlighting to the source
code displayed in the traceback, if Pygments
if available. Courtesy Ben Trofatter
[ticket:95]
|
|
|
|
|
| |
for code blocks so that indentation is preserved
[ticket:173]
|
|
|
|
| |
is now escaped with the HTML filter. [ticket:142]
|
| |
|
|
|
|
|
|
| |
for generating template bound stacktraces.
Will stick to known template source lines
without any extra guessing. [ticket:165]
|
|
|
|
| |
- convert heading copyrights to 2006-2011, reference AUTHORS file
|
| |
|
| |
|
|
|
|
|
| |
exceptions.text_error_template which
is not Py3k compatible. [ticket:137]
|
|
|
|
|
|
|
|
|
| |
such that if no traceback is passed
and sys.exc_info() has been reset,
the formatter just returns blank
for the "traceback" portion.
[ticket:135]
- some long line cleanup
|
|
|
|
|
|
| |
line contains no line number, as in when
inside an eval/exec-generated function.
[ticket:132]
|
|
|
|
|
|
| |
exc.__class__.__name__
in html/text error templates when using
Python 2.4 [ticket:131]
|
|
|
|
|
|
| |
text_error_template().render() now accept "error"
and "traceback" as optional arguments, and
these are now actually used. [ticket:122]
|
| |
|
|
|
|
|
|
| |
- Python 3 support is added ! See README.py3k
for installation and testing notes.
[ticket:119]
|
|
|