Skip to content

Universal mechanism for Iterator slots#3116

Merged
youknowone merged 1 commit into
RustPython:mainfrom
youknowone:pyiter
Sep 24, 2021
Merged

Universal mechanism for Iterator slots#3116
youknowone merged 1 commit into
RustPython:mainfrom
youknowone:pyiter

Conversation

@youknowone

@youknowone youknowone commented Sep 22, 2021

Copy link
Copy Markdown
Member

Adaptable for any kind of iterable/iterator with new machanism.
So now io::_IOBase also can implement Iterable and PyIter

This is the same strategy with Hashable and Unhashable

@youknowone youknowone force-pushed the pyiter branch 3 times, most recently from 160dc9f to 8a27d30 Compare September 24, 2021 04:53
@youknowone youknowone changed the title Universal machanism for Iterator slots Universal mechanism for Iterator slots Sep 24, 2021

@coolreader18 coolreader18 left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@youknowone youknowone merged commit 1063121 into RustPython:main Sep 24, 2021
@youknowone youknowone deleted the pyiter branch September 24, 2021 18:18
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.

2 participants