[pypy-commit] pypy default: another sanity check for a __pypy__ import
bdkearns
noreply at buildbot.pypy.org
Thu Mar 21 03:07:25 CET 2013
Author: Brian Kearns <bdkearns at gmail.com>
Branch:
Changeset: r62604:22ae273e67c1
Date: 2013-03-20 22:06 -0400
http://bitbucket.org/pypy/pypy/changeset/22ae273e67c1/
Log: another sanity check for a __pypy__ import
diff --git a/lib_pypy/cPickle.py b/lib_pypy/cPickle.py
--- a/lib_pypy/cPickle.py
+++ b/lib_pypy/cPickle.py
@@ -100,6 +100,7 @@
try:
from pickle import StringBuilderFile
except ImportError:
+ assert '__pypy__' not in sys.builtin_module_names
StringBuilderFile = StringIO
PythonPickler = Pickler
More information about the pypy-commit
mailing list