Skip to content

SpooledTemporaryFile.truncate returns None #89756

Description

@rooterkyberian
BPO 45593
Nosy @rooterkyberian
PRs
  • gh-89756: make SpooledTemporaryFile.truncate return new file size and improve documentation #29197
  • 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 2021-10-23.23:08:32.961>
    labels = ['type-bug', 'library', '3.11']
    title = 'SpooledTemporaryFile.truncate returns None'
    updated_at = <Date 2021-10-23.23:22:00.886>
    user = 'https://github.com/rooterkyberian'

    bugs.python.org fields:

    activity = <Date 2021-10-23.23:22:00.886>
    actor = 'rooter'
    assignee = 'none'
    closed = False
    closed_date = None
    closer = None
    components = ['Library (Lib)']
    creation = <Date 2021-10-23.23:08:32.961>
    creator = 'rooter'
    dependencies = []
    files = []
    hgrepos = []
    issue_num = 45593
    keywords = ['patch']
    message_count = 1.0
    messages = ['404914']
    nosy_count = 1.0
    nosy_names = ['rooter']
    pr_nums = ['29197']
    priority = 'normal'
    resolution = None
    stage = 'patch review'
    status = 'open'
    superseder = None
    type = 'behavior'
    url = 'https://bugs.python.org/issue45593'
    versions = ['Python 3.11']

    Activity

    1. rooterkyberian commented on Oct 23, 2021

      rooterkyberianmannequin
      MannequinAuthor
    2. added
      3.11only security fixes
      stdlibStandard Library Python modules in the Lib/ directory
      type-bugAn unexpected behavior, bug, or error
      on Oct 23, 2021
    3. transferred this issue fromon Apr 10, 2022
    4. rooterkyberian commented on Aug 1, 2023

      @rooterkyberian
      Author

      ping - the PR resolving this is open for almost 2y now:D

    5. methane commented on Sep 2, 2026

      @methane
      Member

      fixed via #29560

    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-bugAn unexpected behavior, bug, or error

      Projects

      No projects

        Milestone

        No milestone

        Relationships

        None yet

        Development

        No branches or pull requests

        Issue actions