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

ez_setup.py invalid syntax - python 2.4 #72

Closed
ghost opened this issue Aug 26, 2013 · 3 comments · Fixed by #2914
Closed

ez_setup.py invalid syntax - python 2.4 #72

ghost opened this issue Aug 26, 2013 · 3 comments · Fixed by #2914

Comments

@ghost
Copy link

ghost commented Aug 26, 2013

Originally reported by: behackett (Bitbucket: behackett, GitHub: behackett)


#!python

$ sudo python2.4 ez_setup.py 
  File "ez_setup.py", line 176
    finally:
          ^
SyntaxError: invalid syntax

Probably just a recent oversight, but you can't combine except and finally in 2.4.


@ghost
Copy link
Author

ghost commented Aug 27, 2013

Original comment by jaraco (Bitbucket: jaraco, GitHub: jaraco):


Nest try/except/finally for use on Python 2.4. Fixes #72.

@ghost
Copy link
Author

ghost commented Aug 27, 2013

Original comment by jaraco (Bitbucket: jaraco, GitHub: jaraco):


Thanks for the report.

@ghost
Copy link
Author

ghost commented Aug 27, 2013

Original comment by behackett (Bitbucket: behackett, GitHub: behackett):


Thanks for resolving it so quickly.

This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

0 participants