Skip to content

Enable Slice Indices #4856

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

Closed
dunkmann00 opened this issue Jun 4, 2021 · 0 comments · Fixed by #4857
Closed

Enable Slice Indices #4856

dunkmann00 opened this issue Jun 4, 2021 · 0 comments · Fixed by #4857
Labels
Milestone

Comments

@dunkmann00
Copy link

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.

@tannewt tannewt added the bug label Jun 4, 2021
@tannewt tannewt added this to the 7.0.0 milestone Jun 4, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants