[pypy-commit] pypy py3k: thread -> _thread

pjenvey noreply at buildbot.pypy.org
Tue May 27 22:11:00 CEST 2014


Author: Philip Jenvey <pjenvey at underboss.org>
Branch: py3k
Changeset: r71748:c405b0cd87fb
Date: 2014-05-27 13:09 -0700
http://bitbucket.org/pypy/pypy/changeset/c405b0cd87fb/

Log:	thread -> _thread

diff --git a/pypy/module/thread/test/test_thread.py b/pypy/module/thread/test/test_thread.py
--- a/pypy/module/thread/test/test_thread.py
+++ b/pypy/module/thread/test/test_thread.py
@@ -208,7 +208,7 @@
         else:
             raise Exception("could unexpectedly start 1000 threads")
         # safety: check that we can start a new thread here
-        thread.start_new_thread(lambda: None, ())
+        _thread.start_new_thread(lambda: None, ())
 
     def test_stack_size(self):
         import _thread


More information about the pypy-commit mailing list