Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

except-shadows-builtin osm.py:687 #2056

Closed
juliantaylor opened this Issue Jun 30, 2012 · 0 comments

Comments

Projects
None yet
2 participants

except ValueError, IOError:

should be

except (ValueError, IOError):

@Carreau Carreau closed this in e7a6506 Jun 30, 2012

@fperez fperez added a commit to fperez/ipython that referenced this issue Jun 30, 2012

@fperez fperez Merge pull request #2061 from Carreau/fixes-2056
use explicit tuple in exception

fixes #2056
6dc11dc

@Carreau Carreau added a commit to Carreau/ipython that referenced this issue Jul 13, 2012

@Carreau Carreau use explicit tuple in exception
fixes #2056

backported to 0.13.1 from PR #2061
2024c86

@minrk minrk added a commit that referenced this issue Jul 21, 2012

@minrk minrk Backport PR #2061: use explicit tuple in exception
fixes #2056

Do we want to try enforcing [pep 3110](http://www.python.org/dev/peps/pep-3110/) and use `as` in every exceptions that uses `,` ?
e4eeb65

@mattvonrocketstein mattvonrocketstein pushed a commit to mattvonrocketstein/ipython that referenced this issue Nov 3, 2014

@Carreau Carreau use explicit tuple in exception
fixes #2056
e19a963

@mattvonrocketstein mattvonrocketstein pushed a commit to mattvonrocketstein/ipython that referenced this issue Nov 3, 2014

@fperez fperez Merge pull request #2061 from Carreau/fixes-2056
use explicit tuple in exception

fixes #2056
f47af31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment