Skip to content

Adding a __iter__ method to skia.Iter#296

Merged
HinTak merged 1 commit into
skia-python:mainfrom
HinTak:python-3.13.1-iterator-breakage
Feb 5, 2025
Merged

Adding a __iter__ method to skia.Iter#296
HinTak merged 1 commit into
skia-python:mainfrom
HinTak:python-3.13.1-iterator-breakage

Conversation

@HinTak
Copy link
Copy Markdown
Collaborator

@HinTak HinTak commented Dec 29, 2024

See
python/cpython#128161
"Defining iterator in a separate class no longer works in 3.13"

We have iterator for SkTextBlob defined by SkTextBlob::Iter(textblob), which is the c++/pybind11 equivalent of the same situation. Following the suggestion:
python/cpython#128161 (comment)

Also see actions/runner-images#11241

Fixes #295

See
python/cpython#128161
"Defining iterator in a separate class no longer works in 3.13"

We have iterator for SkTextBlob defined by SkTextBlob::Iter(textblob),
which is the c++/pybind11 equivalent of the same situation.
Following the suggestion:
python/cpython#128161 (comment)

Also see actions/runner-images#11241

Fixes skia-python#295
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Python 3.13.1 iterable breakage

1 participant