Skip to content

tarfile.open() raises TypeError when using compresslevel parameter with LZMA #76876

Description

@bbayles
mannequin
BPO 32695
Nosy @ambv, @bbayles, @ZackerySpytz, @miss-islington
PRs
  • bpo-32695: Add docs and tests for compresslevel and preset in tarfile #5397
  • bpo-32695: Docs and tests for compresslevel and preset kwargs in tarfile #21470
  • [3.9] bpo-32695: Docs and tests for compresslevel and preset kwargs in tarfile (GH-21470) #27674
  • [3.10] bpo-32695: Docs and tests for compresslevel and preset kwargs in tarfile (GH-21470) #27675
  • 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 2021-08-09.10:39:27.763>
    created_at = <Date 2018-01-28.15:22:05.981>
    labels = ['library', '3.9', '3.10', '3.11']
    title = 'tarfile.open() raises TypeError when using compresslevel parameter with LZMA'
    updated_at = <Date 2021-08-09.10:39:27.758>
    user = 'https://github.com/bbayles'

    bugs.python.org fields:

    activity = <Date 2021-08-09.10:39:27.758>
    actor = 'lukasz.langa'
    assignee = 'none'
    closed = True
    closed_date = <Date 2021-08-09.10:39:27.763>
    closer = 'lukasz.langa'
    components = ['Library (Lib)']
    creation = <Date 2018-01-28.15:22:05.981>
    creator = 'bbayles'
    dependencies = []
    files = []
    hgrepos = []
    issue_num = 32695
    keywords = ['patch']
    message_count = 5.0
    messages = ['310954', '311582', '399254', '399256', '399257']
    nosy_count = 4.0
    nosy_names = ['lukasz.langa', 'bbayles', 'ZackerySpytz', 'miss-islington']
    pr_nums = ['5397', '21470', '27674', '27675']
    priority = 'normal'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = None
    url = 'https://bugs.python.org/issue32695'
    versions = ['Python 3.9', 'Python 3.10', 'Python 3.11']

    Metadata

    Metadata

    Assignees

    No one assigned

      Labels

      3.10only security fixes3.11only security fixes3.9 (EOL)end of lifestdlibStandard Library Python modules in the Lib/ directory

      Projects

      No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions