Skip to content

Enable Slice Indices #4856

@dunkmann00

Description

@dunkmann00

In updating CircuitPython with the newer versions of micropython, the functionality for getting slice indices was inadvertently disabled.

There is a new flag, MICROPY_PY_BUILTINS_SLICE_INDICES, that is used in objslice.c for turning indices functionality on/off. This flag is currently off so slices no longer support getting indices.

This is a problem in pypixelbuf (PR and discussion).

@jepler Asked if I could submit this issue in CP so it can be addressed.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions