From 73fa727ed5b6229dbe54ff4653eec923a9dfa792 Mon Sep 17 00:00:00 2001 From: Ezio Melotti Date: Sat, 16 Jan 2010 15:09:48 +0000 Subject: [PATCH] Fixed crasher. Patch by Florent Xicluna. --- Lib/test/crashers/bogus_code_obj.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Lib/test/crashers/bogus_code_obj.py b/Lib/test/crashers/bogus_code_obj.py index 43815c1b1c..198d229491 100644 --- a/Lib/test/crashers/bogus_code_obj.py +++ b/Lib/test/crashers/bogus_code_obj.py @@ -14,6 +14,6 @@ the user build or load random bytecodes anyway. Otherwise, this is a import types -co = types.CodeType(0, 0, 0, 0, '\x04\x71\x00\x00', (), - (), (), '', '', 1, '') +co = types.CodeType(0, 0, 0, 0, 0, b'\x04\x71\x00\x00', + (), (), (), '', '', 1, b'') exec(co) -- 2.40.0