Skip to content
Myr

added author information and fixed small off-by-one bug

Before adoption: this commit came in with the history the project adopted, so no landing records it.

--HG-- branch : trunk

authored by Armin Ronacher · committed by Armin Ronacher · parent 9a1e33c · Browse files · 2 files+3 added−2 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

2 files+3 added−2 removed

  • other:+3 added−2 removed

2 files+3 added−2 removed

modified:jinja2/_speedups.c+2 added-2 removed
5 unmodified lines
6 * also defines a `tb_set_next` function that is used to patch the debug7 * traceback. If the speedups module is not compiled a ctypes implementation8 * is used.9 *10 * :copyright: 2008 by Armin Ronacher.10 * :copyright: 2008 by Armin Ronacher, Mickaël Guérin.11 * :license: BSD.12 */1314#include <Python.h>
12 unmodified lines
2728 escaped_chars_delta_len['"'] = 5;29 escaped_chars_repl['"'] = UNICHR("&quot;");3031 escaped_chars_delta_len['&'] = 3;31 escaped_chars_delta_len['&'] = 4;32 escaped_chars_repl['&'] = UNICHR("&amp;");33 34 escaped_chars_delta_len['<'] = 3;35 escaped_chars_repl['<'] = UNICHR("&lt;");
177 unmodified lines
modified:AUTHORS+1 added
4 unmodified lines
5- Armin Ronacher <armin.ronacher@active-4.com>6- Georg Brandl7- Lawrence Journal-World.8- Bryan McLemore9- Mickaël Guérin <kael@crocobox.org>