]> granicus.if.org Git - python/commit
Fix _Py_DisplaySourceLine(), if PyTokenizer_FindEncodingFilename() fails, clear
authorVictor Stinner <victor.stinner@gmail.com>
Thu, 19 Dec 2013 12:39:32 +0000 (13:39 +0100)
committerVictor Stinner <victor.stinner@gmail.com>
Thu, 19 Dec 2013 12:39:32 +0000 (13:39 +0100)
commit5272fa9c5707b3cdcd6f49fdaf595b21bec6b2bd
treea67e2267c4c178ff38947bdbf2ed08c41263cb22
parentf326665fe7d89df3617b142749c195187ba56d0e
Fix _Py_DisplaySourceLine(), if PyTokenizer_FindEncodingFilename() fails, clear
the exception to not call open() with an exception set.
Python/traceback.c