[pypy-commit] pypy default: Enable check for strings with NUL bytes in pypy translation
amauryfa
noreply at buildbot.pypy.org
Sat Feb 4 21:11:34 CET 2012
Author: Amaury Forgeot d'Arc <amauryfa at gmail.com>
Branch:
Changeset: r52101:9faed9cf5289
Date: 2012-02-04 21:08 +0100
http://bitbucket.org/pypy/pypy/changeset/9faed9cf5289/
Log: Enable check for strings with NUL bytes in pypy translation
diff --git a/pypy/translator/goal/targetpypystandalone.py b/pypy/translator/goal/targetpypystandalone.py
--- a/pypy/translator/goal/targetpypystandalone.py
+++ b/pypy/translator/goal/targetpypystandalone.py
@@ -159,6 +159,8 @@
## if config.translation.type_system == 'ootype':
## config.objspace.usemodules.suggest(rbench=True)
+ config.translation.suggest(check_str_without_nul=True)
+
if config.translation.thread:
config.objspace.usemodules.thread = True
elif config.objspace.usemodules.thread:
More information about the pypy-commit
mailing list