]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
threading._DummyThread.__init__(): document obscure new code.
authorTim Peters <tim.peters@gmail.com>
Sat, 8 Jan 2005 07:30:42 +0000 (07:30 +0000)
committerTim Peters <tim.peters@gmail.com>
Sat, 8 Jan 2005 07:30:42 +0000 (07:30 +0000)
commit711906e0c26c010600221da50aa930008b8a9447
tree3e5ac91205cbd5f93a7d9efc669ebc3f6d6a1a1c
parent84d548994ea58385e398baf1bf015aa6b258f7bb
threading._DummyThread.__init__():  document obscure new code.

test_threading.test_foreign_thread():  new test does a basic check that
"foreign" threads can using the threading module, and that they create
a _DummyThread instance in at least one use case.  This isn't a very
good test, since a thread created by thread.start_new_thread() isn't
particularly "foreign".
Lib/test/test_threading.py
Lib/threading.py