Add Lock to list of patched threading primitives. Fixes mcarter's sqlalchemy bug.

This commit is contained in:
Ryan Williams
2010-03-27 15:11:00 -07:00
parent 4a2df235f8
commit f2cd9156e8
2 changed files with 3 additions and 2 deletions

View File

@@ -46,4 +46,5 @@ Thanks To
* Ralf Schmitt, for wsgi/webob incompatibility bug report and suggested fix
* Benoit Chesneau, bug report on green.os and patch to fix it
* Slant, better iterator implementation in tpool
* Ambroff, nice pygtk hub
* Ambroff, nice pygtk hub example
* Michael Carter, and Marcin Bachry, nice repro of a bug and good diagnosis leading to the fix

View File

@@ -3,7 +3,7 @@ from eventlet.green import thread
from eventlet.green import time
__patched__ = ['_start_new_thread', '_allocate_lock', '_get_ident', '_sleep',
'local', 'stack_size']
'local', 'stack_size', 'Lock']
patcher.inject('threading',
globals(),