Skip to content

Drop __aiter__ compatibility layer from 3.7 #72831

Closed

Description

@1st1
BPO 28645
Nosy @vstinner, @serhiy-storchaka, @1st1
Superseder
  • bpo-31709: Drop support for asynchronous aiter
  • Files
  • aiter.patch
  • 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 = 'https://github.com/1st1'
    closed_at = <Date 2017-10-23.16:17:55.699>
    created_at = <Date 2016-11-09.01:09:18.069>
    labels = ['interpreter-core', 'type-bug', '3.7']
    title = 'Drop __aiter__ compatibility layer from 3.7'
    updated_at = <Date 2017-10-23.16:17:55.697>
    user = 'https://github.com/1st1'

    bugs.python.org fields:

    activity = <Date 2017-10-23.16:17:55.697>
    actor = 'yselivanov'
    assignee = 'yselivanov'
    closed = True
    closed_date = <Date 2017-10-23.16:17:55.699>
    closer = 'yselivanov'
    components = ['Interpreter Core']
    creation = <Date 2016-11-09.01:09:18.069>
    creator = 'yselivanov'
    dependencies = []
    files = ['45403']
    hgrepos = []
    issue_num = 28645
    keywords = ['patch']
    message_count = 4.0
    messages = ['280369', '280376', '304813', '304820']
    nosy_count = 3.0
    nosy_names = ['vstinner', 'serhiy.storchaka', 'yselivanov']
    pr_nums = []
    priority = 'normal'
    resolution = 'duplicate'
    stage = 'resolved'
    status = 'closed'
    superseder = '31709'
    type = 'behavior'
    url = 'https://bugs.python.org/issue28645'
    versions = ['Python 3.7']

    Activity

    1. added
      3.7 (EOL)
      on Nov 9, 2016
    2. self-assigned this
      on Nov 9, 2016
    3. added
      interpreter-core
      type-bug
      on Nov 9, 2016
    4. 1st1 commented on Nov 9, 2016

      @1st1
      MemberAuthor

      As discussed in issue bpo-27243, we want to drop __aiter__ compatibility layer in Python 3.7. Please take a look at the attached patch (I'll inc importlib's magic before committing).

    5. serhiy-storchaka commented on Nov 9, 2016

      @serhiy-storchaka
      Member

      I'll inc importlib's magic before committing.

      Please left good gap for possible bugfixes between current number and 3.7 number. Set it to 3390.

      I'm not experienced with async protocols, but at first glance the patch looks technically correct. Please update the documentation. I have the only question about tests. Some tests test the behavior with "async __aiter__". With the patch them test the behavior with just "__aiter__". Shouldn't these tests be duplicated in 3.5-3.6 for __aiter__ without async?

    6. serhiy-storchaka commented on Oct 23, 2017

      @serhiy-storchaka
      Member

      Do you mind to create a pull request Yury?

    7. 1st1 commented on Oct 23, 2017

      @1st1
      MemberAuthor

      Already resolved as part of https://bugs.python.org/issue31709. Closing this one.

    8. transferred this issue fromon Apr 10, 2022
    Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

    Metadata

    Metadata

    Assignees

    Labels

    3.7 (EOL)interpreter-coretype-bug

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions