Skip to content

FileIO.readall() should raise "UnsupportedOperation" when in "w" mode #85524

@evanWang1409

Description

@evanWang1409
BPO 41352
Nosy @evanWang1409
PRs
  • bpo-41352: Raise UnsupportedOperation for FileIO.readall() in "w" mode #21568
  • 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 = None
    created_at = <Date 2020-07-20.21:14:00.553>
    labels = ['type-bug', '3.9', 'expert-IO', '3.11', 'library', '3.10']
    title = 'FileIO.readall() should raise "UnsupportedOperation" when in "w" mode'
    updated_at = <Date 2022-01-24.17:23:10.468>
    user = 'https://github.com/evanWang1409'

    bugs.python.org fields:

    activity = <Date 2022-01-24.17:23:10.468>
    actor = 'iritkatriel'
    assignee = 'none'
    closed = False
    closed_date = None
    closer = None
    components = ['Library (Lib)', 'IO']
    creation = <Date 2020-07-20.21:14:00.553>
    creator = 'Ziyi Wang'
    dependencies = []
    files = []
    hgrepos = []
    issue_num = 41352
    keywords = ['patch']
    message_count = 1.0
    messages = ['374027']
    nosy_count = 2.0
    nosy_names = ['python-dev', 'Ziyi Wang']
    pr_nums = ['21568']
    priority = 'normal'
    resolution = None
    stage = 'patch review'
    status = 'open'
    superseder = None
    type = 'behavior'
    url = 'https://bugs.python.org/issue41352'
    versions = ['Python 3.9', 'Python 3.10', 'Python 3.11']

    Linked PRs

    Metadata

    Metadata

    Assignees

    No one assigned

      Labels

      3.13bugs and security fixes3.14bugs and security fixes3.15new features, bugs and security fixesstdlibStandard Library Python modules in the Lib/ directorytopic-IOtype-bugAn unexpected behavior, bug, or error

      Projects

      No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions