[pypy-svn] r5415 - in pypy/trunk/src/pypy: appspace module
arigo at codespeak.net
arigo at codespeak.net
Thu Jul 1 18:31:05 CEST 2004
Author: arigo
Date: Thu Jul 1 18:31:05 2004
New Revision: 5415
Added:
pypy/trunk/src/pypy/appspace/cStringIO.py (contents, props changed)
Modified:
pypy/trunk/src/pypy/module/sysinterp.py
Log:
Implements cStringIO by using StringIO.
Added: pypy/trunk/src/pypy/appspace/cStringIO.py
==============================================================================
--- (empty file)
+++ pypy/trunk/src/pypy/appspace/cStringIO.py Thu Jul 1 18:31:05 2004
@@ -0,0 +1,5 @@
+#
+# One-liner implementation of cStringIO
+#
+
+from StringIO import *
Modified: pypy/trunk/src/pypy/module/sysinterp.py
==============================================================================
--- pypy/trunk/src/pypy/module/sysinterp.py (original)
+++ pypy/trunk/src/pypy/module/sysinterp.py Thu Jul 1 18:31:05 2004
@@ -38,7 +38,7 @@
# The following built-in modules are not written in PyPy, so we
# steal them from Python.
for fn in ['posix', 'nt', 'os2', 'mac', 'ce', 'riscos',
- 'cStringIO', 'itertools', 'math',
+ 'itertools', 'math',
'_random', '_sre', 'time', '_socket', 'errno',
'marshal', 'struct', 'binascii', 'parser']:
if fn not in builtin_modules:
More information about the Pypy-commit
mailing list