Skip to content

mock_open does not support iteration around text files. #77114

@TonyFlury

Description

@TonyFlury
mannequin
BPO 32933
Nosy @rbtcollins, @ned-deily, @ezio-melotti, @merwok, @voidspace, @berkerpeksag, @TonyFlury, @bbayles
PRs
  • bpo-32933: Implement dunder iter method on mock_open #5974
  • 3.7 Implement dunder iter method on mock_open bpo-32933 #5975
  • [3.7] Implement dunder iter method on mock_open bpo-32933 #5976
  • [3.6] : Implement dunder iter method on mock_open bpo-32933 #5977
  • [3.7] bpo-32933: Implement __iter__ method on mock_open() (GH-5974) #9311
  • 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 2018-09-12.22:24:40.785>
    created_at = <Date 2018-02-24.08:58:38.826>
    labels = ['3.7', '3.8', 'type-feature', 'library']
    title = 'mock_open does not support iteration around text files.'
    updated_at = <Date 2018-09-14.21:30:07.650>
    user = 'https://github.com/TonyFlury'

    bugs.python.org fields:

    activity = <Date 2018-09-14.21:30:07.650>
    actor = 'berker.peksag'
    assignee = 'none'
    closed = True
    closed_date = <Date 2018-09-12.22:24:40.785>
    closer = 'berker.peksag'
    components = ['Library (Lib)']
    creation = <Date 2018-02-24.08:58:38.826>
    creator = 'anthony-flury'
    dependencies = []
    files = []
    hgrepos = []
    issue_num = 32933
    keywords = ['patch']
    message_count = 16.0
    messages = ['312706', '315025', '315026', '320278', '321334', '321336', '325197', '325198', '325201', '325300', '325309', '325335', '325349', '325378', '325379', '325402']
    nosy_count = 8.0
    nosy_names = ['rbcollins', 'ned.deily', 'ezio.melotti', 'eric.araujo', 'michael.foord', 'berker.peksag', 'anthony-flury', 'bbayles']
    pr_nums = ['5974', '5975', '5976', '5977', '9311']
    priority = 'normal'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = 'enhancement'
    url = 'https://bugs.python.org/issue32933'
    versions = ['Python 3.7', 'Python 3.8']

    Metadata

    Metadata

    Assignees

    No one assigned

      Labels

      3.7 (EOL)end of life3.8 (EOL)end of lifestdlibStandard Library Python modules in the Lib/ directorytype-featureA feature request or enhancement

      Projects

      No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions