3 ms·
>> why has Python 3 adoption been so slow Really this topic is coming to an end. Most libraries support Python 3 and if they don't there's better alternatives.
by andrewstuart 11y ago
>> why has Python 3 adoption been so slow
Really this topic is coming to an end. Most libraries support Python 3 and if they don't there's better alternatives.
For new users and new projects there's no reason now except personal preference to choose Python 2 and in fact beginners who start with Python 2 are just instantly incurring a learning debt upon themselves to be paid down the track when they have to move to Python 3.
The community has some extremely vocal Python2 diehards but their arguments no longer hold water.
>>why has Python 3 adoption been so slow?
Whatever, it's just history now.
- mwcampbell 11y agoWhat 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).
- alextgordon 11y agoHistory it isn't. There is a vast amount of Python 2 code in existence. I still write a lot of Python 2, doing maintenance on existing projects.
- brightsize 11y agoWhat about Google's AppEngine? I would dearly love to run Python 3 code on it, but 2.7 is the latest version that's supported. Google seems to have no roadmap to Python 3 on the platform (Managed VMs don't solve the problem - the SDK does not support Python 3) which leads me to worry that they're going to deprecate support for the language entirely on it.
- draw_down 11y agoPerhaps better to ask, why have Python devs vowed never to do this again? There is a reason it will be "just history" soon.