Skip to content

gpython: Implement iter() #53

Closed
Closed

Description

@corona10

TODO

  • Implement callable_iterator
  • Implement iter() builtin

callable_itereator should be implemented before implementing iter() builtin

Activity

  1. corona10 commented on Feb 12, 2019

    @corona10
    CollaboratorAuthor

    Return a new iterator. The first parameter, callable, can be any Python callable object that can be called with no parameters; each call to it should return the next item in the iteration. When callable returns a value equal to sentinel, the iteration will be terminated.

    https://docs.python.org/3/c-api/iterator.html#c.PyCallIter_New

  2. self-assigned this
    on Feb 13, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions