3 ms·
What about MySQLdb? That's the main extension module that has been keeping me on Python 2 for server-side software. That, plus a lack of perceived upside to CPy
by mwcampbell 11y ago
What about MySQLdb? That's the main extension module that has been keeping me on Python 2 for server-side software. That, plus a lack of perceived upside to CPython 3, which is still an interpreter with a GIL after all. PyPy 3 might be compelling if it can run MySQLdb or a bug-compatible replacement. True, PyPy still has a GIL, but at least it also has a JIT compiler.
- andrewstuart 11y agohttps://dev.mysql.com/downloads/connector/python/2.1.html https://dev.mysql.com/downloads/connector/python/2.1.html http://dev.mysql.com/doc/connector-python/en/connector-python-versions.html http://dev.mysql.com/doc/connector-python/en/connector-pytho...
- frewsxcv 11y agoMySQLdb has other issues besides Python 3 support. It's no longer maintained and hasn't been updated in quite some time. The Django documentation (and I) now recommends mysqlclient-python, which is compatible with systems that rely on MySQLdb https://github.com/PyMySQL/mysqlclient-python https://github.com/PyMySQL/mysqlclient-python
- kstrauser 11y agoAnother endorsement from me. We migrated with import pymysql as MySQLdb and everything just worked.
- BuckRogers 11y agoCheck into PyPy-STM, they were able to remove the GIL. This will eventually be merged back into PyPy4 (the 2.7 compatible version).