A. Jesse Jiryu Davis
9a2fe4981e
Fix PYTHON-509, rare connection leaks in Python <= 2.7.0
2013-04-24 20:45:38 -04:00
A. Jesse Jiryu Davis
27b096e6cf
Fix test_thread_util for Python 3.3
...
Some time in Python 3, threading.Thread._ident was introduced as a property, so this test can't use _ident as an attribute of a subclass of Thread. Use _my_ident instead.
2013-01-02 13:48:06 -05:00
A. Jesse Jiryu Davis
b220b0f44d
Fix test_thread_util for Python 2.4
2013-01-02 13:39:16 -05:00
A. Jesse Jiryu Davis
024ed62313
Factor out thread-rendezvous logic from test_threads.py, and use it in test_thread_util.py
2012-12-31 13:06:17 -05:00
A. Jesse Jiryu Davis
e31a07a84c
Refactor thread-/greenlet-local stuff from pool.py into thread_util.py PYTHON-428
...
Preparation for PYTHON-428
2012-12-31 13:05:21 -05:00
Mike Dirolf
0fe4b29197
remove thread_util
2010-01-08 17:38:46 -05:00
Mike Dirolf
8d9c4866f3
minor: a little bit more wiggle room
2009-11-25 10:33:19 -05:00
Mike Dirolf
82244d2813
minor: import from current directory when run as script
2009-11-10 17:12:22 -05:00
Michael DIrolf
8d41d627c2
2 decimal places was asking too much MINOR
2009-06-08 16:48:18 -04:00
Mike Dirolf
90beef7b20
minor: more PEP 8
2009-06-05 16:54:02 -04:00
Mike Dirolf
cf308e3b09
TimeoutableLock
2009-05-28 14:18:28 -04:00