Skip to content

Python 3.4: tempfile.close attribute does not work #65778

@socketpair

Description

@socketpair
BPO 21579
Nosy @birkenfeld, @ncoghlan, @pitrou, @vstinner, @bitdancer, @socketpair, @berkerpeksag, @serhiy-storchaka, @eryksun
Files
  • issue21579.patch
  • test_tempfile.py: example of real usage
  • 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 2015-12-30.17:53:49.246>
    created_at = <Date 2014-05-26.05:47:59.400>
    labels = ['easy', 'type-bug', 'library']
    title = 'Python 3.4: tempfile.close attribute does not work'
    updated_at = <Date 2015-12-31.06:11:50.800>
    user = 'https://github.com/socketpair'

    bugs.python.org fields:

    activity = <Date 2015-12-31.06:11:50.800>
    actor = 'eryksun'
    assignee = 'none'
    closed = True
    closed_date = <Date 2015-12-30.17:53:49.246>
    closer = 'socketpair'
    components = ['Library (Lib)']
    creation = <Date 2014-05-26.05:47:59.400>
    creator = 'socketpair'
    dependencies = []
    files = ['35662', '41055']
    hgrepos = []
    issue_num = 21579
    keywords = ['patch', 'easy']
    message_count = 21.0
    messages = ['219132', '219137', '219146', '219147', '219269', '219273', '219274', '219289', '220783', '230738', '230740', '254731', '255509', '256771', '256775', '256805', '256806', '256816', '256818', '256853', '257249']
    nosy_count = 10.0
    nosy_names = ['georg.brandl', 'ncoghlan', 'pitrou', 'vstinner', 'r.david.murray', 'socketpair', 'berker.peksag', 'serhiy.storchaka', 'eryksun', 'Eduardo.Seabra']
    pr_nums = []
    priority = 'normal'
    resolution = 'wont fix'
    stage = 'needs patch'
    status = 'closed'
    superseder = None
    type = 'behavior'
    url = 'https://bugs.python.org/issue21579'
    versions = ['Python 3.4', 'Python 3.5', 'Python 3.6']

    Metadata

    Metadata

    Assignees

    No one assigned

      Labels

      easystdlibStandard 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