[pypy-commit] pypy default: export a few more constants

bdkearns noreply at buildbot.pypy.org
Thu Feb 7 00:06:23 CET 2013


Author: Brian Kearns <bdkearns at gmail.com>
Branch: 
Changeset: r60918:1721aeaf522f
Date: 2013-02-06 18:05 -0500
http://bitbucket.org/pypy/pypy/changeset/1721aeaf522f/

Log:	export a few more constants

diff --git a/pypy/module/imp/__init__.py b/pypy/module/imp/__init__.py
--- a/pypy/module/imp/__init__.py
+++ b/pypy/module/imp/__init__.py
@@ -6,12 +6,14 @@
     __import__ function.
     """
     interpleveldefs = {
+        'SEARCH_ERROR':    'space.wrap(importing.SEARCH_ERROR)',
         'PY_SOURCE':       'space.wrap(importing.PY_SOURCE)',
         'PY_COMPILED':     'space.wrap(importing.PY_COMPILED)',
         'C_EXTENSION':     'space.wrap(importing.C_EXTENSION)',
         'PKG_DIRECTORY':   'space.wrap(importing.PKG_DIRECTORY)',
         'C_BUILTIN':       'space.wrap(importing.C_BUILTIN)',
         'PY_FROZEN':       'space.wrap(importing.PY_FROZEN)',
+        'IMP_HOOK':        'space.wrap(importing.IMP_HOOK)',
         'get_suffixes':    'interp_imp.get_suffixes',
 
         'get_magic':       'interp_imp.get_magic',


More information about the pypy-commit mailing list