Contrary to the documentation, MySQLdb-1.0 does not
work on Python 1.5.2.
(a) setup.py uses os.getenv, which does not exist in
1.5.2. Fix is to replace with os.environ.get.
(b) _mysql.c uses PySequence_Size, which does not exist
in 1.5.2. Fix is to replace with PySequence_Length,
which appears to be the same function under a different
Log in to post a comment.