]> granicus.if.org Git - python/commit
Issues #2384 and #3975: Tracebacks were not correctly printed when the source file
authorAmaury Forgeot d'Arc <amauryfa@gmail.com>
Thu, 9 Oct 2008 23:37:48 +0000 (23:37 +0000)
committerAmaury Forgeot d'Arc <amauryfa@gmail.com>
Thu, 9 Oct 2008 23:37:48 +0000 (23:37 +0000)
commitcf8016a8d6b3fed550ed961ffd957ab3d19f04da
treed0b5d0faf11161269fe26e154837ec0ae19a3c28
parent76e5538749947eaf5fbf6487805d004ea244b941
Issues #2384 and #3975: Tracebacks were not correctly printed when the source file
contains a ``coding:`` header: the wrong line was displayed, and the encoding was not respected.

Patch by Victor Stinner.
Lib/test/test_traceback.py
Misc/NEWS
Parser/tokenizer.c
Python/traceback.c