3 ms·
The only thing really "keeping" me on Python 2.x is how easy it is to host it. Although Flask/Django/Bottle all support Python 3, most (if not all) PaaS provide
by cvburgess 13y ago
The only thing really "keeping" me on Python 2.x is how easy it is to host it. Although Flask/Django/Bottle all support Python 3, most (if not all) PaaS providers I have used only support Python 2.7.
- toyg 13y agoHeroku supports 3.x fine, IIRC.
- cvburgess 13y agoLooks like you are correct [1] - this was not the case last time I checked. Thanks! Any others? [1] https://devcenter.heroku.com/articles/python-runtimes https://devcenter.heroku.com/articles/python-runtimes
- rockymeza 13y agoA problem with hosting Django on Python 3 on Heroku though is that you need to use something else (like s3) for staticfiles. Boto doesn't support python 3 yet, so you can't use the django-storages implementation. The Heroku documentation recommends using dj-static as an alternative to s3, but dj-static relies on a library that was last updated in 2009. New Relic seems to support Python 3 now though, which is nice.