<feed xmlns='http://www.w3.org/2005/Atom'>
<title>python.git/Lib/test/test_threading_local.py, branch v3.2b2</title>
<subtitle>Python interpreter</subtitle>
<id>http://dangofactory.net/cgit/cgit.cgi/Server/python.git/atom/Lib/test/test_threading_local.py?h=v3.2b2</id>
<link rel='self' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/atom/Lib/test/test_threading_local.py?h=v3.2b2'/>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/'/>
<updated>2010-09-07T22:06:17Z</updated>
<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>
<entry>
<title>fixes issue #1522237, bad init check in _threading_local</title>
<updated>2010-02-22T19:55:46Z</updated>
<author>
<name>Jack Diederich</name>
<email>jackdied@gmail.com</email>
</author>
<published>2010-02-22T19:55:46Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=561d5aa47f78198a12ff197e0daff55680547d46'/>
<id>urn:sha1:561d5aa47f78198a12ff197e0daff55680547d46</id>
<content type='text'>
</content>
</entry>
<entry>
<title>use assert[Not]In where appropriate</title>
<updated>2010-01-19T00:09:57Z</updated>
<author>
<name>Benjamin Peterson</name>
<email>benjamin@python.org</email>
</author>
<published>2010-01-19T00:09:57Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=577473fe687b38c8f01b0c372d6d2563680045b3'/>
<id>urn:sha1:577473fe687b38c8f01b0c372d6d2563680045b3</id>
<content type='text'>
A patch from Dave Malcolm.
</content>
</entry>
<entry>
<title>Recorded merge of revisions 75123 via svnmerge from</title>
<updated>2009-09-29T04:57:18Z</updated>
<author>
<name>Philip Jenvey</name>
<email>pjenvey@underboss.org</email>
</author>
<published>2009-09-29T04:57:18Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=26713cade1e8e2e2458062c4f0be0b53ae436753'/>
<id>urn:sha1:26713cade1e8e2e2458062c4f0be0b53ae436753</id>
<content type='text'>
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r75123 | philip.jenvey | 2009-09-28 21:32:44 -0700 (Mon, 28 Sep 2009) | 4 lines

  #6990: clear threading.local's key only after its thread state is removed:
  fixes local subclasses leaving old state around after a ref cycle GC which
  could be recycled by new locals
........
</content>
</entry>
<entry>
<title>convert old fail* assertions to assert*</title>
<updated>2009-06-30T23:06:06Z</updated>
<author>
<name>Benjamin Peterson</name>
<email>benjamin@python.org</email>
</author>
<published>2009-06-30T23:06:06Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=c9c0f201fed21efcf669dbbf5f923eaf0eeb1db9'/>
<id>urn:sha1:c9c0f201fed21efcf669dbbf5f923eaf0eeb1db9</id>
<content type='text'>
</content>
</entry>
</feed>
