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.
This commit is contained in:
Amaury Forgeot d'Arc 2008-10-09 23:37:48 +00:00
parent 76e5538749
commit cf8016a8d6
4 changed files with 220 additions and 83 deletions

View file

@ -15,6 +15,10 @@ What's New in Python 3.0 beta 5
Core and Builtins
-----------------
- 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.
- Issue #3740: Null-initialize module state.
- Issue #3946: PyObject_CheckReadBuffer crashed on a memoryview object.