[pypy-svn] r53474 - in pypy/dist/pypy: config module/_curses module/_minimal_curses

arigo at codespeak.net arigo at codespeak.net
Sun Apr 6 19:46:35 CEST 2008


Author: arigo
Date: Sun Apr  6 19:46:35 2008
New Revision: 53474

Added:
   pypy/dist/pypy/module/_minimal_curses/
      - copied from r53461, pypy/dist/pypy/module/_curses/
Removed:
   pypy/dist/pypy/module/_curses/
Modified:
   pypy/dist/pypy/config/pypyoption.py
   pypy/dist/pypy/module/_minimal_curses/__init__.py
Log:
Rename _curses to _minimal_curses.  Enable it by default
with --allworkingmodules.  This should let readline.py
import without bringing in all of ctypes.


Modified: pypy/dist/pypy/config/pypyoption.py
==============================================================================
--- pypy/dist/pypy/config/pypyoption.py	(original)
+++ pypy/dist/pypy/config/pypyoption.py	Sun Apr  6 19:46:35 2008
@@ -24,7 +24,7 @@
 working_modules.update(dict.fromkeys(
     ["_socket", "unicodedata", "mmap", "fcntl", "rctime", "select",
      "crypt", "signal", "dyngram", "_rawffi", "termios", "zlib",
-     "struct", "md5", "sha", "bz2",
+     "struct", "md5", "sha", "bz2", "_minimal_curses",
     ]
 ))
 

Modified: pypy/dist/pypy/module/_minimal_curses/__init__.py
==============================================================================
--- pypy/dist/pypy/module/_curses/__init__.py	(original)
+++ pypy/dist/pypy/module/_minimal_curses/__init__.py	Sun Apr  6 19:46:35 2008
@@ -9,7 +9,7 @@
     """ Low-level interface for curses module,
     not meant to be used directly
     """
-    applevel_name = "_curses"
+    applevel_name = "_minimal_curses"
 
     appleveldefs = {
         'error'          : 'app_curses.error',



More information about the Pypy-commit mailing list