From 40d37814166380b0fb585f818b446159cfbcec0f Mon Sep 17 00:00:00 2001 From: Neal Norwitz Date: Sun, 2 Oct 2005 01:48:49 +0000 Subject: - 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 | 1 + 1 file changed, 1 insertion(+) create mode 100644 Lib/test/bad_coding.py (limited to 'Lib/test/bad_coding.py') diff --git a/Lib/test/bad_coding.py b/Lib/test/bad_coding.py new file mode 100644 index 00000000000..971b0a8f3d6 --- /dev/null +++ b/Lib/test/bad_coding.py @@ -0,0 +1 @@ +# -*- coding: uft-8 -*- -- cgit v1.2.3