<feed xmlns='http://www.w3.org/2005/Atom'>
<title>python.git/Lib/threading.py, branch v2.5a2</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/threading.py?h=v2.5a2</id>
<link rel='self' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/atom/Lib/threading.py?h=v2.5a2'/>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/'/>
<updated>2006-04-25T20:12:45Z</updated>
<entry>
<title>Implement MvL's improvement on __context__ in Condition;</title>
<updated>2006-04-25T20:12:45Z</updated>
<author>
<name>Guido van Rossum</name>
<email>guido@python.org</email>
</author>
<published>2006-04-25T20:12:45Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=8f56d02309a71254e7b32e4dfd3669399bcd3fc2'/>
<id>urn:sha1:8f56d02309a71254e7b32e4dfd3669399bcd3fc2</id>
<content type='text'>
this can just call __context__ on the underlying lock.
(The same change for Semaphore does *not* work!)
</content>
</entry>
<entry>
<title>Um, I thought I'd already checked this in.</title>
<updated>2006-03-10T02:28:35Z</updated>
<author>
<name>Guido van Rossum</name>
<email>guido@python.org</email>
</author>
<published>2006-03-10T02:28:35Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=f669436189dd44a841caa9ab1ad97a3f7662bf58'/>
<id>urn:sha1:f669436189dd44a841caa9ab1ad97a3f7662bf58</id>
<content type='text'>
Anyway, this is the changes to the with-statement
so that __exit__ must return a true value in order
for a pending exception to be ignored.
The PEP (343) is already updated.
</content>
</entry>
<entry>
<title>Updates to the with-statement:</title>
<updated>2006-02-28T21:57:43Z</updated>
<author>
<name>Guido van Rossum</name>
<email>guido@python.org</email>
</author>
<published>2006-02-28T21:57:43Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=1a5e21e0334a6d4e1c756575023c7157fc9ee306'/>
<id>urn:sha1:1a5e21e0334a6d4e1c756575023c7157fc9ee306</id>
<content type='text'>
- New semantics for __exit__() -- it must re-raise the exception
  if type is not None; the with-statement itself doesn't do this.
  (See the updated PEP for motivation.)

- Added context managers to:
  - file
  - thread.LockType
  - threading.{Lock,RLock,Condition,Semaphore,BoundedSemaphore}
  - decimal.Context

- Added contextlib.py, which defines @contextmanager, nested(), closing().

- Unit tests all around; bot no docs yet.
</content>
</entry>
<entry>
<title>Prevent threading.Thread.join() from blocking when a previous call raised an</title>
<updated>2005-11-23T02:15:50Z</updated>
<author>
<name>Brett Cannon</name>
<email>bcannon@gmail.com</email>
</author>
<published>2005-11-23T02:15:50Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=ad07ff2c77699c49b99140c0e1f36bfcdc9b2e17'/>
<id>urn:sha1:ad07ff2c77699c49b99140c0e1f36bfcdc9b2e17</id>
<content type='text'>
exception (e.g., passing in an illegal argument).

Applies patch #1314396.  Thanks Eric Blossom.
</content>
</entry>
<entry>
<title>bug [ 1238170 ] threading.Thread uses {} as default argument</title>
<updated>2005-07-15T09:13:21Z</updated>
<author>
<name>Georg Brandl</name>
<email>georg@python.org</email>
</author>
<published>2005-07-15T09:13:21Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=a4a8b820aa32638e9f65efcb73e7559dad76028f'/>
<id>urn:sha1:a4a8b820aa32638e9f65efcb73e7559dad76028f</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Fixed typo in verbose output.</title>
<updated>2005-01-27T22:48:30Z</updated>
<author>
<name>Brett Cannon</name>
<email>bcannon@gmail.com</email>
</author>
<published>2005-01-27T22:48:30Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=90cece7f8930cbfe5b87a61a1a67cfd670639c63'/>
<id>urn:sha1:90cece7f8930cbfe5b87a61a1a67cfd670639c63</id>
<content type='text'>
Closes bug #1110998.  Thanks Matthew Bogosian.
</content>
</entry>
<entry>
<title>threading._DummyThread.__init__():  document obscure new code.</title>
<updated>2005-01-08T07:30:42Z</updated>
<author>
<name>Tim Peters</name>
<email>tim.peters@gmail.com</email>
</author>
<published>2005-01-08T07:30:42Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=711906e0c26c010600221da50aa930008b8a9447'/>
<id>urn:sha1:711906e0c26c010600221da50aa930008b8a9447</id>
<content type='text'>
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".
</content>
</entry>
<entry>
<title>In _DummyThread objects the lock stored in __block (allocated thanks to</title>
<updated>2005-01-08T02:43:53Z</updated>
<author>
<name>Brett Cannon</name>
<email>bcannon@gmail.com</email>
</author>
<published>2005-01-08T02:43:53Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=e6539c4401cd3f60a5cc176717852886cb9d152a'/>
<id>urn:sha1:e6539c4401cd3f60a5cc176717852886cb9d152a</id>
<content type='text'>
_Thread.__init__) was never used.  This is a waste since locks use OS
primitives that are in limited supply.  So the lock is deleted in
_DummyThread.__init__ .

Closes bug #1089632.
</content>
</entry>
<entry>
<title>Thread.__delete:  Discussion of internal obscurities belongs in comments</title>
<updated>2004-07-21T03:36:52Z</updated>
<author>
<name>Tim Peters</name>
<email>tim.peters@gmail.com</email>
</author>
<published>2004-07-21T03:36:52Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=21429932e4f1c31a25c943853eb6c968b5cf9a82'/>
<id>urn:sha1:21429932e4f1c31a25c943853eb6c968b5cf9a82</id>
<content type='text'>
rather than in docstrings.  Rewrote so that _active_limbo_lock is released
no matter what happens (it could have been left locked if _sys got None'd
out).  Use "in" in preference to has_key() for dict lookup.  Don't bother
looking for 'dummy_threading' in sys.modules unless KeyError is raised.
Since the heart of the method is the del, do that in only one place.
</content>
</entry>
<entry>
<title>Fix bug where a KeyError was raised if -O was being used for the interpreter</title>
<updated>2004-07-21T02:21:58Z</updated>
<author>
<name>Brett Cannon</name>
<email>bcannon@gmail.com</email>
</author>
<published>2004-07-21T02:21:58Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=8b3d92a9777d7ea5805c5e3cf0d6b0474fab2d01'/>
<id>urn:sha1:8b3d92a9777d7ea5805c5e3cf0d6b0474fab2d01</id>
<content type='text'>
and Thread.__delete() was called after a Thread instance was created.  Problem
resulted from a currentThread() call in an 'assert' statement being optimized
out and dummy_thread.get_ident() always returning -1 and thus overwriting the
entry for the _MainThread() instance created in 'threading' at import time.

Closes bug #993394.
</content>
</entry>
</feed>
