[pypy-svn] r5082 - in pypy/trunk/src/pypy: appspace module
arigo at codespeak.net
arigo at codespeak.net
Sat Jun 12 18:34:34 CEST 2004
Author: arigo
Date: Sat Jun 12 18:34:33 2004
New Revision: 5082
Modified:
pypy/trunk/src/pypy/appspace/imp.py
pypy/trunk/src/pypy/module/sysinterp.py
Log:
Steps towards running utest at app-level.
Modified: pypy/trunk/src/pypy/appspace/imp.py
==============================================================================
--- pypy/trunk/src/pypy/appspace/imp.py (original)
+++ pypy/trunk/src/pypy/appspace/imp.py Sat Jun 12 18:34:33 2004
@@ -13,6 +13,9 @@
PKG_DIRECTORY = 5
C_BUILTIN = 6
+def get_magic():
+ return '\x3b\xf2\x0d\x0a'
+
def get_suffixes():
return [('.py', 'U', PY_SOURCE)]
Modified: pypy/trunk/src/pypy/module/sysinterp.py
==============================================================================
--- pypy/trunk/src/pypy/module/sysinterp.py (original)
+++ pypy/trunk/src/pypy/module/sysinterp.py Sat Jun 12 18:34:33 2004
@@ -40,7 +40,7 @@
for fn in ['posix', 'nt', 'os2', 'mac', 'ce', 'riscos',
'cStringIO', 'itertools', 'math',
'_random', '_sre', 'time', '_socket', 'errno',
- 'marshal', 'struct', 'binascii']:
+ 'marshal', 'struct', 'binascii', 'parser']:
if fn not in builtin_modules:
try:
builtin_modules[fn] = hack_cpython_module(fn)
More information about the Pypy-commit
mailing list