Skip to content

mock_open() should allow reading binary data #67193

@jcea

Description

@jcea
BPO 23004
Nosy @jcea, @rbtcollins, @abadger, @bitdancer, @voidspace, @berkerpeksag
Dependencies
  • bpo-17467: Enhancement: give mock_open readline() and readlines() methods
  • Files
  • mock-open-allow-binary-data.patch
  • mock-open-allow-binary-data-updated.patch
  • mock-open-allow-binary-without-coerce.patch
  • mock-open-allow-binary-without-coerce-fixup.patch
  • mock-open-allow-binary-data-fix-formatting.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/berkerpeksag'
    closed_at = <Date 2015-08-06.10:21:50.534>
    created_at = <Date 2014-12-07.15:24:17.185>
    labels = ['easy', 'type-bug', 'library']
    title = 'mock_open() should allow reading binary data'
    updated_at = <Date 2015-08-07.15:50:42.900>
    user = 'https://github.com/jcea'

    bugs.python.org fields:

    activity = <Date 2015-08-07.15:50:42.900>
    actor = 'r.david.murray'
    assignee = 'berker.peksag'
    closed = True
    closed_date = <Date 2015-08-06.10:21:50.534>
    closer = 'berker.peksag'
    components = ['Library (Lib)']
    creation = <Date 2014-12-07.15:24:17.185>
    creator = 'jcea'
    dependencies = ['17467']
    files = ['37435', '37440', '37446', '37458', '37510']
    hgrepos = []
    issue_num = 23004
    keywords = ['patch', 'easy']
    message_count = 18.0
    messages = ['232271', '232589', '232591', '232592', '232611', '232629', '232637', '232645', '232693', '232704', '232954', '233231', '237020', '248119', '248120', '248153', '248197', '248201']
    nosy_count = 8.0
    nosy_names = ['jcea', 'rbcollins', 'a.badger', 'r.david.murray', 'michael.foord', 'python-dev', 'berker.peksag', 'Aaron1011']
    pr_nums = []
    priority = 'normal'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = 'behavior'
    url = 'https://bugs.python.org/issue23004'
    versions = ['Python 3.4', 'Python 3.5', 'Python 3.6']

    Metadata

    Metadata

    Assignees

    Labels

    easystdlibStandard Library Python modules in the Lib/ directorytype-bugAn unexpected behavior, bug, or error

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions