]> granicus.if.org Git - python/commit
- Fix segfault with invalid coding.
authorNeal Norwitz <nnorwitz@gmail.com>
Sun, 2 Oct 2005 01:48:49 +0000 (01:48 +0000)
committerNeal Norwitz <nnorwitz@gmail.com>
Sun, 2 Oct 2005 01:48:49 +0000 (01:48 +0000)
commit40d37814166380b0fb585f818b446159cfbcec0f
tree80082c1713d2e7951b29b928e57ece73d3a4883b
parentd45014b236f5a8707c104bb5b47bbb006e3bd4f3
- Fix segfault with invalid coding.
- SF Bug #772896, unknown encoding results in MemoryError, which is not helpful

I will only backport the segfault fix.  I'll let Anthony decide if he wants
the other changes backported.  I will do the backport if asked.
Lib/test/bad_coding.py [new file with mode: 0644]
Lib/test/test_coding.py [new file with mode: 0644]
Misc/NEWS
Parser/parsetok.c
Parser/pgenmain.c
Parser/tokenizer.c
Python/pythonrun.c