diff Python/errors.c @ 49484:0b7e023803fb

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.
author Amaury Forgeot d'Arc <amauryfa@gmail.com>
date Thu, 09 Oct 2008 23:37:48 +0000
parents c562c8dae49a
children f221fce3d6ba
line wrap: on
line diff