[Python-checkins] r77523 - python/branches/py3k/Lib/test/crashers/bogus_code_obj.py
ezio.melotti
python-checkins at python.org
Sat Jan 16 16:09:48 CET 2010
Author: ezio.melotti
Date: Sat Jan 16 16:09:48 2010
New Revision: 77523
Log:
Fixed crasher. Patch by Florent Xicluna.
Modified:
python/branches/py3k/Lib/test/crashers/bogus_code_obj.py
Modified: python/branches/py3k/Lib/test/crashers/bogus_code_obj.py
==============================================================================
--- python/branches/py3k/Lib/test/crashers/bogus_code_obj.py (original)
+++ python/branches/py3k/Lib/test/crashers/bogus_code_obj.py Sat Jan 16 16:09:48 2010
@@ -14,6 +14,6 @@
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)
More information about the Python-checkins
mailing list