[pypy-svn] r12055 - pypy/dist/pypy/module/sys2

hpk at codespeak.net hpk at codespeak.net
Sun May 8 00:08:34 CEST 2005


Author: hpk
Date: Sun May  8 00:08:34 2005
New Revision: 12055

Modified:
   pypy/dist/pypy/module/sys2/state.py
Log:
steal fnctl from CPython to let test_tempfile pass 
and remove _codecs and binascii becasue we have 
our own implementation.  Hum, i guess we should
be a bit more strict and clever about building
the list of modules we steal from CPython to 
avoid people getting confused not getting their
pypy/lib implementation for things ... 



Modified: pypy/dist/pypy/module/sys2/state.py
==============================================================================
--- pypy/dist/pypy/module/sys2/state.py	(original)
+++ pypy/dist/pypy/module/sys2/state.py	Sun May  8 00:08:34 2005
@@ -24,10 +24,10 @@
 # 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',
-           'math', '_codecs', 'array', 'select',
+           'math', 'array', 'select',
            '_random', '_sre', 'time', '_socket', 'errno',
-           'binascii', 'unicodedata',
-           'parser'
+           'unicodedata',
+           'parser', 'fcntl', #'_codecs', 'binascii'
            ]: 
     if fn not in builtin_modules:
         try:



More information about the Pypy-commit mailing list