build fails on python 1.5.2
MySQL database connector for Python programming
Brought to you by:
adustman
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
name.
Logged In: YES
user_id=71372
Will be in 1.0.1b1
Logged In: YES
user_id=71372
This has been fixed in the current CVS tree.