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

Tuple/List get_item to fallible #1733

Merged
merged 1 commit into from
Aug 17, 2021
Merged

Tuple/List get_item to fallible #1733

merged 1 commit into from
Aug 17, 2021

Commits on Aug 17, 2021

  1. - PyList, PyTuple and PySequence's get_item now accepts only …

    …`usize` indices instead of `isize`.
    
    - `PyList` and `PyTuple`'s `get_item` now always uses the safe API. See `get_item_unchecked` for retrieving index without checks.
    Aviram Hassan authored and davidhewitt committed Aug 17, 2021
    Configuration menu
    Copy the full SHA
    c6255e6 View commit details
    Browse the repository at this point in the history