[pypy-svn] r62044 - in pypy/trunk: lib-python pypy/config pypy/doc/config
afa at codespeak.net
afa at codespeak.net
Fri Feb 20 10:41:27 CET 2009
Author: afa
Date: Fri Feb 20 10:41:24 2009
New Revision: 62044
Added:
pypy/trunk/pypy/doc/config/objspace.usemodules._winreg.txt
Modified:
pypy/trunk/lib-python/conftest.py
pypy/trunk/pypy/config/pypyoption.py
Log:
On Windows, _winreg is now a Working Module.
Modified: pypy/trunk/lib-python/conftest.py
==============================================================================
--- pypy/trunk/lib-python/conftest.py (original)
+++ pypy/trunk/lib-python/conftest.py Fri Feb 20 10:41:24 2009
@@ -437,7 +437,7 @@
RegrTest('test_weakref.py', core=True, usemodules='_weakref'),
RegrTest('test_whichdb.py'),
- RegrTest('test_winreg.py', skip="unsupported extension module"),
+ RegrTest('test_winreg.py', skip=sys.platform != 'win32'),
RegrTest('test_winsound.py', skip="unsupported extension module"),
RegrTest('test_xmllib.py'),
RegrTest('test_xmlrpc.py'),
Modified: pypy/trunk/pypy/config/pypyoption.py
==============================================================================
--- pypy/trunk/pypy/config/pypyoption.py (original)
+++ pypy/trunk/pypy/config/pypyoption.py Fri Feb 20 10:41:24 2009
@@ -39,6 +39,7 @@
# XXX this should move somewhere else, maybe to platform ("is this posixish"
# check or something)
if sys.platform == "win32":
+ working_modules["_winreg"] = None
# unix only modules
del working_modules["crypt"]
del working_modules["fcntl"]
@@ -48,9 +49,9 @@
del working_modules["bz2"]
if sys.platform == "sunos5":
- del working_modules['mmap'] # depend on ctypes, can'T get at c-level 'errono'
+ del working_modules['mmap'] # depend on ctypes, can't get at c-level 'errono'
del working_modules['rctime'] # depend on ctypes, missing tm_zone/tm_gmtoff
- del working_modules['signal'] # depend on ctypes, can'T get at c-level 'errono'
+ del working_modules['signal'] # depend on ctypes, can't get at c-level 'errono'
del working_modules['fcntl'] # LOCK_NB not defined
del working_modules["_minimal_curses"]
del working_modules["termios"]
Added: pypy/trunk/pypy/doc/config/objspace.usemodules._winreg.txt
==============================================================================
--- (empty file)
+++ pypy/trunk/pypy/doc/config/objspace.usemodules._winreg.txt Fri Feb 20 10:41:24 2009
@@ -0,0 +1,2 @@
+Use the built-in '_winreg' module, provides access to the Windows registry.
+This module is expected to be working and is included by default on Windows.
More information about the Pypy-commit
mailing list