MySQL for Python version 0.3.5
I have two Python versions, one compiled with thread
support and the othe without threads. The version
without threads is used in mod_python, because
When I try to use "MySQL for Python" from the non
threading version, I receive a runtime error since
The threading autodetect in the library if fooled since
it only tries to import the module "threading".
Neveretheless, I can have a python version with that
module and NOT threading support.
The patch is fairly simple:
--- MySQLdb.py.old Thu Apr 26 16:42:28 2001
+++ MySQLdb.py Tue Apr 17 16:22:13 2001
@@ -27,6 +27,7 @@
_threading = threading
Log in to post a comment.