mitsuhiko/werkzeug — pull request #547 by saifelse (2014-06-16 19:43:38+00:00)
Title: Fixes regex for determining charset in traceback

`_coding_re` was defined to match the magic comment as described in PEP 0263, but tbtools was incorrectly using `_line_re`. This results in using `codecs.lookup` on the first line of a file, which can often match an undesired codec, e.g. 'symbol'