Author: Amaury Forgeot d'Arc <[email protected]>
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:
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to