New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
DeprecationWarning: BaseException.message has been deprecated as of Python 2.6 #119
Comments
Prefer str(ex), or even better, use it in a format (then the str is implicit). Basically you are duplicating the code in the |
That works even better for me! Should the documentation on exceptions be updated to reflect that or is it just me being dense? ;) |
Docs can certainly be improved, PRs would help to that. Also consider testing your code with git head, parsing errors were improved (#73). |
Not sure if this merits a PR for a few lines of text but as soon as my other one is either trashed or modified, I can submit a new one. To be fair, I was a little dense: |
Use the embedded editor of GitHub for that and it becomes a breeze (GH basically does everything for you, including the initial fork). Try it, you'll like it. |
\grins I'll give that a go tomorrow… |
Done a PR. You were right, the editor is good. |
Can this be closed now #120 is merged? |
I guess it can… |
Using
configobj (5.0.6)
, I tried the following and got aDeprecationWarning
:Same with plain Python:
Am I doing the catching wrong somehow?
The text was updated successfully, but these errors were encountered: