Author: Matti Picus <[email protected]>
Branch: unicode-utf8-py3
Changeset: r95026:3a519921c44f
Date: 2018-08-23 16:27 +0300
http://bitbucket.org/pypy/pypy/changeset/3a519921c44f/

Log:    backout 5061432f841e, add debug print around __valuedict

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,6 +96,7 @@
             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)
 
@@ -110,6 +111,7 @@
                 self.raw_thread_local.set(None)
                 ident = rthread.get_ident()
                 try:
+                    print 'unregistering thread', ident
                     del self._valuedict[ident]
                 except KeyError:
                     pass
diff --git a/testrunner/runner.py b/testrunner/runner.py
--- a/testrunner/runner.py
+++ b/testrunner/runner.py
@@ -398,9 +398,6 @@
         config_py_file = os.path.expanduser(config_py_file)
         if py.path.local(config_py_file).check(file=1):
             print >>out, "using config", config_py_file
-            if 'machine' in config_py_file:
-                with open(config_py_file, 'r') as fid:
-                    print >>out, fid.read()
             execfile(config_py_file, run_param.__dict__)
         else:
             print >>out, "ignoring non-existant config", config_py_file
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to