Skip to content

tempfile.TemporaryFile: name of file descriptor cannot be reused in consecutive initialization #88179

@zhongxiang117

Description

@zhongxiang117
BPO 44013
Nosy @tjol, @zhongxiang117
Files
  • xtempfile.py: codes reproduce
  • new-xtempfile.py: bug reproduce: new testing and explanations
  • 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-05-02.22:33:35.276>
    labels = ['3.8', 'type-bug', 'library', '3.9']
    title = 'tempfile.TemporaryFile: name of file descriptor cannot be reused in consecutive initialization'
    updated_at = <Date 2021-06-07.22:11:27.108>
    user = 'https://github.com/zhongxiang117'

    bugs.python.org fields:

    activity = <Date 2021-06-07.22:11:27.108>
    actor = 'zhongxiang117'
    assignee = 'none'
    closed = False
    closed_date = None
    closer = None
    components = ['Library (Lib)']
    creation = <Date 2021-05-02.22:33:35.276>
    creator = 'zhongxiang117'
    dependencies = []
    files = ['50004', '50093']
    hgrepos = []
    issue_num = 44013
    keywords = []
    message_count = 5.0
    messages = ['392746', '395089', '395154', '395156', '395291']
    nosy_count = 2.0
    nosy_names = ['tjollans', 'zhongxiang117']
    pr_nums = []
    priority = 'normal'
    resolution = 'wont fix'
    stage = None
    status = 'open'
    superseder = None
    type = 'behavior'
    url = 'https://bugs.python.org/issue44013'
    versions = ['Python 3.8', 'Python 3.9']

    Metadata

    Metadata

    Assignees

    No one assigned

      Labels

      3.8 (EOL)end of life3.9 (EOL)end of lifestdlibStandard Library Python modules in the Lib/ directorytype-bugAn unexpected behavior, bug, or error

      Projects

      Status

      No status

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions