<feed xmlns='http://www.w3.org/2005/Atom'>
<title>python.git/Lib/test/test_threading_local.py, branch 3.8</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.</subtitle>
<id>http://dangofactory.net/cgit/cgit.cgi/Server/python.git/atom/Lib/test/test_threading_local.py?h=3.8</id>
<link rel='self' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/atom/Lib/test/test_threading_local.py?h=3.8'/>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/'/>
<updated>2019-01-06T22:10:55Z</updated>
<entry>
<title>test_threading_local: add missing "import sys" (GH-8049)</title>
<updated>2019-01-06T22:10:55Z</updated>
<author>
<name>cclauss</name>
<email>cclauss@me.com</email>
</author>
<published>2019-01-06T22:10:55Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=a0bb51e44cd43a7d2836a96a3804162203e44514'/>
<id>urn:sha1:a0bb51e44cd43a7d2836a96a3804162203e44514</id>
<content type='text'>
</content>
</entry>
<entry>
<title>bpo-31370: Remove support for threads-less builds (#3385)</title>
<updated>2017-09-07T16:56:24Z</updated>
<author>
<name>Antoine Pitrou</name>
<email>pitrou@free.fr</email>
</author>
<published>2017-09-07T16:56:24Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=a6a4dc816d68df04a7d592e0b6af8c7ecc4d4344'/>
<id>urn:sha1:a6a4dc816d68df04a7d592e0b6af8c7ecc4d4344</id>
<content type='text'>
* Remove Setup.config
* Always define WITH_THREAD for compatibility.

</content>
</entry>
<entry>
<title>Issue #20556: Used specific assert methods in threading tests.</title>
<updated>2016-03-14T08:28:59Z</updated>
<author>
<name>Serhiy Storchaka</name>
<email>storchaka@gmail.com</email>
</author>
<published>2016-03-14T08:28:59Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=8c0f0c5c1ee8220eba26c4f3f72802a211e1d4fb'/>
<id>urn:sha1:8c0f0c5c1ee8220eba26c4f3f72802a211e1d4fb</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Issue #23799: Added test.support.start_threads() for running and cleaning up</title>
<updated>2015-04-01T10:01:14Z</updated>
<author>
<name>Serhiy Storchaka</name>
<email>storchaka@gmail.com</email>
</author>
<published>2015-04-01T10:01:14Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=263dcd20a374d540c8f0bc07332f1657adf6da83'/>
<id>urn:sha1:263dcd20a374d540c8f0bc07332f1657adf6da83</id>
<content type='text'>
multiple threads.
</content>
</entry>
<entry>
<title>Issue #9707: Rewritten reference implementation of threading.local which</title>
<updated>2010-09-07T22:06:17Z</updated>
<author>
<name>Antoine Pitrou</name>
<email>solipsis@pitrou.net</email>
</author>
<published>2010-09-07T22:06:17Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=783eea722bf6e7c9d679d5230cd327e68b4c55f7'/>
<id>urn:sha1:783eea722bf6e7c9d679d5230cd327e68b4c55f7</id>
<content type='text'>
is friendlier towards reference cycles.  This change is not normally
visible since an optimized C implementation (_thread._local) is used
instead.
</content>
</entry>
<entry>
<title>Issue #1868: Eliminate subtle timing issues in thread-local objects by</title>
<updated>2010-08-28T18:17:03Z</updated>
<author>
<name>Antoine Pitrou</name>
<email>solipsis@pitrou.net</email>
</author>
<published>2010-08-28T18:17:03Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=1a9a9d543327397396827642895410183f8902d5'/>
<id>urn:sha1:1a9a9d543327397396827642895410183f8902d5</id>
<content type='text'>
getting rid of the cached copy of thread-local attribute dictionary.
</content>
</entry>
<entry>
<title>Issue #3757: thread-local objects now support cyclic garbage collection.</title>
<updated>2010-08-09T22:38:19Z</updated>
<author>
<name>Antoine Pitrou</name>
<email>solipsis@pitrou.net</email>
</author>
<published>2010-08-09T22:38:19Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=5af4f4b9832411476caf8cf3f571f974056d4f1b'/>
<id>urn:sha1:5af4f4b9832411476caf8cf3f571f974056d4f1b</id>
<content type='text'>
Thread-local objects involved in reference cycles will be deallocated
timely by the cyclic GC, even if the underlying thread is still running.
</content>
</entry>
<entry>
<title>That test was never run (since thread has been renamed to _thread in 3.x)</title>
<updated>2010-08-04T00:18:49Z</updated>
<author>
<name>Antoine Pitrou</name>
<email>solipsis@pitrou.net</email>
</author>
<published>2010-08-04T00:18:49Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=577ba7d43a59dd2d893c4ccf95e7d4e21cc84ac5'/>
<id>urn:sha1:577ba7d43a59dd2d893c4ccf95e7d4e21cc84ac5</id>
<content type='text'>
</content>
</entry>
<entry>
<title>In test_threading_local, test both the default _thread._local implementation</title>
<updated>2010-08-03T18:32:26Z</updated>
<author>
<name>Antoine Pitrou</name>
<email>solipsis@pitrou.net</email>
</author>
<published>2010-08-03T18:32:26Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=da991da30b9333cf3cc37cbe293eab018175854b'/>
<id>urn:sha1:da991da30b9333cf3cc37cbe293eab018175854b</id>
<content type='text'>
and the pure Python implementation in Lib/_threading_local.py
</content>
</entry>
<entry>
<title>Merged revisions 80552-80556,80564-80566,80568-80571 via svnmerge from</title>
<updated>2010-04-28T22:31:17Z</updated>
<author>
<name>Victor Stinner</name>
<email>victor.stinner@haypocalc.com</email>
</author>
<published>2010-04-28T22:31:17Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=45df820591c319061a625bdd99d7bbd2a26f8117'/>
<id>urn:sha1:45df820591c319061a625bdd99d7bbd2a26f8117</id>
<content type='text'>
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r80552 | victor.stinner | 2010-04-27 23:46:03 +0200 (mar., 27 avril 2010) | 3 lines

  Issue #7449, part 1: fix test_support.py for Python compiled without thread
........
  r80553 | victor.stinner | 2010-04-27 23:47:01 +0200 (mar., 27 avril 2010) | 1 line

  Issue #7449, part 2: regrtest.py -j option requires thread support
........
  r80554 | victor.stinner | 2010-04-27 23:51:26 +0200 (mar., 27 avril 2010) | 9 lines

  Issue #7449 part 3, test_doctest: import trace module in test_coverage()

  Import trace module fail if the threading module is missing. test_coverage() is
  only used if test_doctest.py is used with the -c option. This commit allows to
  execute the test suite without thread support.

  Move "import trace" in test_coverage() and use
  test_support.import_module('trace').
........
  r80555 | victor.stinner | 2010-04-27 23:56:26 +0200 (mar., 27 avril 2010) | 6 lines

  Issue #7449, part 4: skip test_multiprocessing if thread support is disabled

  import threading after _multiprocessing to raise a more revelant error message:
  "No module named _multiprocessing". _multiprocessing is not compiled without
  thread support.
........
  r80556 | victor.stinner | 2010-04-28 00:01:24 +0200 (mer., 28 avril 2010) | 8 lines

  Issue #7449, part 5: split Test.test_open() of ctypes/test/test_errno.py

   * Split Test.test_open() in 2 functions: test_open() and test_thread_open()
   * Skip test_open() and test_thread_open() if we are unable to find the C
     library
   * Skip test_thread_open() if thread support is disabled
   * Use unittest.skipUnless(os.name == "nt", ...) on test_GetLastError()
........
  r80564 | victor.stinner | 2010-04-28 00:59:35 +0200 (mer., 28 avril 2010) | 4 lines

  Issue #7449, part 6: fix test_hashlib for missing threading module

  Move @test_support.reap_thread decorator from test_main() to test_threaded_hashing().
........
  r80565 | victor.stinner | 2010-04-28 01:01:29 +0200 (mer., 28 avril 2010) | 6 lines

  Issue #7449, part 7: simplify threading detection in test_capi

   * Skip TestPendingCalls if threading module is missing
   * Test if threading module is present or not, instead of test the presence of
     _testcapi._test_thread_state
........
  r80566 | victor.stinner | 2010-04-28 01:03:16 +0200 (mer., 28 avril 2010) | 4 lines

  Issue #7449, part 8: don't skip the whole test_asynchat if threading is missing

  TestFifo can be executed without the threading module
........
  r80568 | victor.stinner | 2010-04-28 01:14:58 +0200 (mer., 28 avril 2010) | 6 lines

  Issue #7449, part 9: fix test_xmlrpclib for missing threading module

   * Skip testcases using threads if threading module is missing
   * Use "http://" instead of URL in ServerProxyTestCase if threading is missing
     because URL is not set in this case
........
  r80569 | victor.stinner | 2010-04-28 01:33:58 +0200 (mer., 28 avril 2010) | 6 lines

  Partial revert of r80556 (Issue #7449, part 5, fix ctypes test)

  Rewrite r80556: the thread test have to be executed just after the test on
  libc_open() and so the test cannot be splitted in two functions (without
  duplicating code, and I don't want to duplicate code).
........
  r80570 | victor.stinner | 2010-04-28 01:51:16 +0200 (mer., 28 avril 2010) | 8 lines

  Issue #7449, part 10: test_cmd imports trace module using test_support.import_module()

  Use test_support.import_module() instead of import to raise a SkipTest
  exception if the import fail. Import trace fails if the threading module is
  missing.

  See also part 3: test_doctest: import trace module in test_coverage().
........
  r80571 | victor.stinner | 2010-04-28 01:55:59 +0200 (mer., 28 avril 2010) | 6 lines

  Issue #7449, last part (11): fix many tests if thread support is disabled

   * Use try/except ImportError or test_support.import_module() to import thread
     and threading modules
   * Add @unittest.skipUnless(threading, ...) to testcases using threads
........
</content>
</entry>
</feed>
