Skip to content

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

@rcoreilly

Description

@rcoreilly

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions