Visitar URL original
adding name to BZ2File · Issue #91373 · python/cpython · GitHub
Skip to content

adding name to BZ2File #91373

Description

@ellaellela
mannequin
BPO 47217
Nosy @ellaellela
PRs
  • bpo-47217: add name attribute to bz2 fileobject #32311
  • 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 2022-04-04.18:49:04.461>
    labels = ['type-feature', 'library', '3.11']
    title = 'adding name to BZ2File'
    updated_at = <Date 2022-04-04.18:49:45.782>
    user = 'https://github.com/ellaellela'

    bugs.python.org fields:

    activity = <Date 2022-04-04.18:49:45.782>
    actor = 'ellaellela'
    assignee = 'none'
    closed = False
    closed_date = None
    closer = None
    components = ['Library (Lib)']
    creation = <Date 2022-04-04.18:49:04.461>
    creator = 'ellaellela'
    dependencies = []
    files = []
    hgrepos = []
    issue_num = 47217
    keywords = ['patch']
    message_count = 1.0
    messages = ['416690']
    nosy_count = 1.0
    nosy_names = ['ellaellela']
    pr_nums = ['32311']
    priority = 'normal'
    resolution = None
    stage = 'patch review'
    status = 'open'
    superseder = None
    type = 'enhancement'
    url = 'https://bugs.python.org/issue47217'
    versions = ['Python 3.11']

    Activity

    1. ellaellela commented on Apr 4, 2022

      ellaellelamannequin
      MannequinAuthor

      BZ2File doesn't have attribute name, unlike GzipFile which has it. Trying to access that attribute results in error.

      PR is ready with code changes and tests which mimics what is already available for GzipFile (e.g. we do not take name from BytesIO() objects because they do not have it).
      A similar PR is ready for LZMAFile as well (a different enhancement).

    2. added
      3.11only security fixes
      stdlibStandard Library Python modules in the Lib/ directory
      type-featureA feature request or enhancement
      on Apr 4, 2022
    3. transferred this issue fromon Apr 10, 2022
    4. serhiy-storchaka commented on Feb 26, 2024

      @serhiy-storchaka
      Member

      This is the part of more complex issue #115961.

    Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

    Metadata

    Metadata

    Assignees

    No one assigned

      Labels

      3.11only security fixesstdlibStandard Library Python modules in the Lib/ directorytype-featureA feature request or enhancement

      Projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions