Python 3 now supportedPosted Mar 26, 2014 | 2 min. (307 words)
We’ve pushed a new update to the official Python provider today which adds Python 3 error handling support. This means the provider is now bilingual as it supports Python 2.6/2.7 as it did previously as well as Python 3.0+ environments, all without any changes needed on your end (the setup process will pick up your current Python environment).
Just like the previous version it’s available from pip, so running the following command will grab the latest 2.0.0 release containing the Python 3 support:
pip install raygun4py
Or if you’re using setuptools, adding a requires to setup.py is also an option:
install_requires=[ "raygun4py == 2.0.0" ]
Python 3 support seems to gaining traction as many common dependencies now feature support for the release, but with the huge ecosystem of V2 code out there it was an important goal for us to maintain backwards compatibilty. Therefore, Raygun4py 2.0.0 supports both 2 and 3 from pip with zero user input needed. It’s been tested and verified on the major subversions from 3.0-3.4.
Want automatic Python 3 error handling in your script or app?
As shown above Raygun’s Python support is fast and painless so you can get started right away. There’s also a Rayun Django community provider available which builds on our library, so be sure to check that out if you have a site running on that CMS.
Don’t have a Raygun account yet? Grab your 30-day free trial of Raygun now, which you don’t even need a credit card to begin.
If you’ve got any questions, feel free to leave them below – we’re interested to hear your experiences with the new Python 3 support. Until next time, keep blasting those exceptions!