-
-
Notifications
You must be signed in to change notification settings - Fork 7.9k
Python 2.6 string format syntax errors in matplotlib 1.4.3 #5703
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
Comments
Thanks for taking the time to look into this. Unfortunately, we no longer support the 1.4.x series. The 1.5 series does not 'officially' support 2.6, but we are still testing it against 2.6 and if you put in a PR to 1.5.x to fix these formatting issues I will merge it. Going forward we will not support py2.6 at all (there is 2.6 incompatible code currently on both the 2.x and master branches). |
@tacaswell, much appreciated, especially for backporting those changes to 1.5.x. There are quite a few more uses of Would you be interested in a patch that implements https://github.com/xZise/flake8-string-format checking on the 1.5.x branch, to catch possible string format 2.6 bugs early ?
(many of those are false positives; I'll find a way to fix or whitelist those lines which are not actually a problem.) It could also be useful on master, to catch problems like the first one in the list above, which is PR #5707. |
Ping @tacaswell; this can probably be closed now. |
Good point. Thank you. |
There are quite a few Python 2.6 string format syntax errors in 1.4.3. I found them using https://github.com/xZise/flake8-string-format (and
git grep {}
due to xZise/flake8-string-format#10).Some have already been fixed by @montefra in 1.5.x:
I've submitted two PRs to fix other related issues:
matplotlib 1.4.x supposedly supports Python 2.6, but the 1.4.3 release indicates that it is the last patch release, and there is no 1.4.x branch that I can submit PRs to.
Ironically, this means that 1.5.x supports Python 2.6 better than the 1.4.x series.
I've packaged five commits ready to be merged into 1.4.x, if desired.
https://github.com/jayvdb/matplotlib/tree/v1.4.3-py26-str.format
The text was updated successfully, but these errors were encountered: