summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEzio Melotti <ezio.melotti@gmail.com>2010-01-16 15:11:38 (GMT)
committerEzio Melotti <ezio.melotti@gmail.com>2010-01-16 15:11:38 (GMT)
commit5683a3d85d08502364726aa9faadbaf1d6767910 (patch)
treebc0b71835ef674e0125125351d068939ed8cdccb
parent9ce52610f4bc688ec698424e55d45d49b090668b (diff)
downloadcpython-5683a3d85d08502364726aa9faadbaf1d6767910.zip
cpython-5683a3d85d08502364726aa9faadbaf1d6767910.tar.gz
cpython-5683a3d85d08502364726aa9faadbaf1d6767910.tar.bz2
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. ........
-rw-r--r--Lib/test/crashers/bogus_code_obj.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/test/crashers/bogus_code_obj.py b/Lib/test/crashers/bogus_code_obj.py
index 43815c1..198d229 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)