A. Jesse Jiryu Davis
85fe2d7353
Skip test_ident in Jython.
2014-04-01 16:18:36 -04:00
A. Jesse Jiryu Davis
2fa1750b07
Update copyright notices and company name.
2014-01-31 09:36:46 -05:00
A. Jesse Jiryu Davis
be4860a2e5
Don't rely on functools in tests; not available in Python 2.4.
2013-10-30 20:33:02 -04:00
A. Jesse Jiryu Davis
280a7fc390
Test GreenletIdent with Gevent enhanced Greenlets.
2013-08-16 16:18:50 -04:00
A. Jesse Jiryu Davis
804b90a163
Style.
2013-08-16 16:18:50 -04:00
A. Jesse Jiryu Davis
78d33653d4
Ident.watch must always be passed the thread id
...
Prevent temptation to regress to PYTHON-353 by accessing a threadlocal in a threadlocal's weakref callback
2013-05-22 20:33:15 -04:00
A. Jesse Jiryu Davis
ca899c80ca
thread_util.have_gevent is more accurate than has_greenlets now
...
Pool(use_greenlets=True) now requires Gevent, not just greenlet
2013-05-22 20:33:15 -04:00
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