Visitar URL original
python2 doesn't catch error that python3 does in _example/maps · Issue #183 · go-python/gopy · GitHub
The Wayback Machine - https://web.archive.org/web/20200525170249/https://github.com/go-python/gopy/issues/183
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

python2 doesn't catch error that python3 does in _example/maps #183

Open
rcoreilly opened this issue Jun 7, 2019 · 0 comments
Open

python2 doesn't catch error that python3 does in _example/maps #183

rcoreilly opened this issue Jun 7, 2019 · 0 comments

Comments

@rcoreilly
Copy link
Contributor

@rcoreilly rcoreilly commented Jun 7, 2019

in _examples/maps/test.py:

# TODO: not sure why python2 doesn't just catch this error, but it doesn't seem to..
# try:
#     v = a[4]
# except Exception as err:
#     print("caught error: %s" % (err,))
#     pass
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
1 participant
You can’t perform that action at this time.