Skip to content

add aiter() and anext() functions #76042

Closed
@sorcio

Description

@sorcio
mannequin
BPO 31861
Nosy @gvanrossum, @vstinner, @basak, @jab, @sorcio, @dimaqq, @1st1, @JelleZijlstra, @pablogsal, @isidentical, @belm0, @jack1142, @sweeneyde
PRs
  • bpo-31861: Add operator.aiter and operator.anext #8895
  • bpo-31861: Provide aiter and anext builtins #23847
  • bpo-31861: Complete the C-API docs for PyObject_GetAiter and PyAiter_Check #25004
  • bpo-31861: Fix possible crash in PyAnextAwaitable_New #25005
  • bpo-31861: Fix reference leak in builtin_anext_impl() #25008
  • Files
  • aiter_comp.py: tentative Python implementation
  • Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.

    Show more details

    GitHub fields:

    assignee = None
    closed_at = <Date 2021-03-24.01:43:07.674>
    created_at = <Date 2017-10-24.13:26:15.573>
    labels = ['library', '3.10']
    title = 'add aiter() and anext() functions'
    updated_at = <Date 2021-04-07.22:59:05.539>
    user = 'https://github.com/sorcio'

    bugs.python.org fields:

    activity = <Date 2021-04-07.22:59:05.539>
    actor = 'vstinner'
    assignee = 'none'
    closed = True
    closed_date = <Date 2021-03-24.01:43:07.674>
    closer = 'pablogsal'
    components = ['Library (Lib)']
    creation = <Date 2017-10-24.13:26:15.573>
    creator = 'davide.rizzo'
    dependencies = []
    files = ['47242']
    hgrepos = []
    issue_num = 31861
    keywords = ['patch']
    message_count = 25.0
    messages = ['304910', '304923', '304924', '304926', '305107', '319519', '319520', '323989', '323997', '324009', '337061', '337135', '375633', '380408', '381832', '383327', '383441', '389414', '389417', '389420', '389422', '389426', '389427', '390402', '390495']
    nosy_count = 15.0
    nosy_names = ['gvanrossum', 'vstinner', 'rb', 'jab', 'davide.rizzo', 'jmehnle', 'Dima.Tisnek', 'yselivanov', 'JelleZijlstra', 'pablogsal', 'BTaskaya', 'Eric Wieser', 'John Belmonte', 'jack1142', 'Dennis Sweeney']
    pr_nums = ['8895', '23847', '25004', '25005', '25008']
    priority = 'normal'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = None
    url = 'https://bugs.python.org/issue31861'
    versions = ['Python 3.10']

    Metadata

    Metadata

    Assignees

    No one assigned

      Labels

      3.10only security fixesstdlibPython modules in the Lib dir

      Projects

      No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions