[pypy-commit] pypy unicode-utf8-py3: try bakcing out _cffi_backend, preload_builtins

mattip pypy.commits at gmail.com
Fri Aug 24 02:36:42 EDT 2018


Author: Matti Picus <matti.picus at gmail.com>
Branch: unicode-utf8-py3
Changeset: r95028:c1e571608b66
Date: 2018-08-24 09:35 +0300
http://bitbucket.org/pypy/pypy/changeset/c1e571608b66/

Log:	try bakcing out _cffi_backend, preload_builtins

diff --git a/pypy/module/cpyext/test/test_cpyext.py b/pypy/module/cpyext/test/test_cpyext.py
--- a/pypy/module/cpyext/test/test_cpyext.py
+++ b/pypy/module/cpyext/test/test_cpyext.py
@@ -138,7 +138,7 @@
     """Base class for all cpyext tests."""
     spaceconfig = dict(usemodules=['cpyext', 'thread', 'struct', 'array',
                                    'itertools', 'time', 'binascii', 'mmap',
-                                   '_cffi_backend',
+                                   #'_cffi_backend',
                                    ])
 
     @classmethod
@@ -222,7 +222,7 @@
         if not cls.runappdirect:
             cls.sys_info = get_cpyext_info(space)
             cls.w_debug_collect = space.wrap(interp2app(debug_collect))
-            cls.preload_builtins(space)
+            #cls.preload_builtins(space)
         else:
             def w_import_module(self, name, init=None, body='', filename=None,
                     include_dirs=None, PY_SSIZE_T_CLEAN=False):
diff --git a/pypy/module/thread/threadlocals.py b/pypy/module/thread/threadlocals.py
--- a/pypy/module/thread/threadlocals.py
+++ b/pypy/module/thread/threadlocals.py
@@ -96,7 +96,6 @@
             ec._signals_enabled = 1    # the main thread is enabled
             self._mainthreadident = ident
         if register_in_valuedict:
-            print 'registering thread', ident
             self._valuedict[ident] = ec
         self.raw_thread_local.set(ec)
 
@@ -111,7 +110,6 @@
                 self.raw_thread_local.set(None)
                 ident = rthread.get_ident()
                 try:
-                    print 'unregistering thread', ident
                     del self._valuedict[ident]
                 except KeyError:
                     pass


More information about the pypy-commit mailing list