Skip to content
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

fix Exception handling #108

Merged
merged 1 commit into from May 4, 2018
Merged

fix Exception handling #108

merged 1 commit into from May 4, 2018

Conversation

Lassulus
Copy link
Contributor

@Lassulus Lassulus commented May 4, 2018

How could this ever work?

How could this ever work?
@jkowalleck
Copy link
Member

You asked:

How could this ever work?

Here is the answer:
The syntax with the comma was used until Python2.6 was released to prepare for py3 compatibility ...

Python 3.0 makes this unambiguous by replacing the comma with the word “as”.

See https://docs.python.org/2/whatsnew/2.6.html#pep-3110-exception-handling-changes

@jkowalleck jkowalleck merged commit c6dcd0d into k4cg:master May 4, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants