]> granicus.if.org Git - python/commit
Issue #9319: Fix a crash on parsing a Python source code without encoding
authorVictor Stinner <victor.stinner@haypocalc.com>
Fri, 22 Apr 2011 22:41:19 +0000 (00:41 +0200)
committerVictor Stinner <victor.stinner@haypocalc.com>
Fri, 22 Apr 2011 22:41:19 +0000 (00:41 +0200)
commitc68b6aaec8b08caf682ebb7c95f94ddf49a6b66c
treea282727782624c5d77359ac82c6ab9b7b4bc4886
parent5569e9b1507ac0ff18fec433a7733a0185dde7b0
Issue #9319: Fix a crash on parsing a Python source code without encoding
cookie and not valid in UTF-8: use "<file>" as the filename instead of
reading from NULL.
Lib/test/test_imp.py
Parser/tokenizer.c