From: Ezio Melotti Date: Sat, 16 Jan 2010 15:11:38 +0000 (+0000) Subject: Merged revisions 77523 via svnmerge from X-Git-Tag: v3.1.2rc1~167 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=5683a3d85d08502364726aa9faadbaf1d6767910;p=python Merged revisions 77523 via svnmerge from svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r77523 | ezio.melotti | 2010-01-16 17:09:48 +0200 (Sat, 16 Jan 2010) | 1 line Fixed crasher. Patch by Florent Xicluna. ........ --- 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)