Skip to content

tempfile.NamedTemporaryFile not particularly useful on Windows #58451

Description

@dabrahams
mannequin
BPO14243
Nosy@pfmoore, @jaraco, @ncoghlan, @pitrou, @ericvsmith, @tjguk, @jwilk, @merwok, @bitdancer, @njsmith, @methane, @dabrahams, @ethanfurman, @sorcio, @vadmium, @zware, @dlenski, @eryksun, @zooba, @ethanhs, @Ev2geny
PRs
  • bpo-14243: Optionally delete NamedTemporaryFile on content manager exit but not on file close #22431
  • gh-58451: Add optional delete_on_close parameter to NamedTemporaryFile #97015
  • Files
  • ntempfile.py
  • share.py
  • 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=Noneclosed_at=Nonecreated_at=<Date2012-03-10.02:14:08.216>labels= ['type-feature', 'library', '3.10', 'OS-windows']
    title='tempfile.NamedTemporaryFile not particularly useful on Windows'updated_at=<Date2021-05-01.01:32:51.852>user='https://github.com/dabrahams'

    bugs.python.org fields:

    activity=<Date2021-05-01.01:32:51.852>actor='methane'assignee='none'closed=Falseclosed_date=Nonecloser=Nonecomponents= ['Library (Lib)', 'Windows']
    creation=<Date2012-03-10.02:14:08.216>creator='dabrahams'dependencies= []
    files= ['26215', '26229']
    hgrepos= []
    issue_num=14243keywords= ['patch']
    message_count=83.0messages= ['155278', '155309', '155316', '155317', '155333', '155365', '155374', '155375', '155457', '157639', '157925', '157927', '157946', '157947', '157948', '157949', '157952', '164358', '164369', '164375', '164392', '164433', '164487', '164495', '164496', '164497', '164503', '164504', '164505', '164509', '164514', '164617', '184053', '184056', '184088', '228371', '244762', '288473', '288504', '288520', '288521', '288538', '288540', '376593', '376645', '376649', '376656', '376659', '376662', '376663', '376664', '376665', '376666', '376684', '376697', '376702', '377580', '390498', '390805', '390806', '390810', '390814', '390888', '390894', '390899', '390903', '390906', '390908', '390911', '392252', '392253', '392257', '392442', '392447', '392470', '392479', '392480', '392483', '392484', '392505', '392511', '392515', '392559']
    nosy_count=26.0nosy_names= ['paul.moore', 'jaraco', 'ncoghlan', 'pitrou', 'eric.smith', 'tim.golden', 'jwilk', 'eric.araujo', 'r.david.murray', 'njs', 'methane', 'dabrahams', 'ethan.furman', 'davide.rizzo', 'sbt', 'Gabi.Davar', 'martin.panter', 'piotr.dobrogost', 'zach.ware', 'dlenski', 'eryksun', 'steve.dower', 'Carl Osterwisch', 'ethan smith', 'ev2geny', 'chary314']
    pr_nums= ['22431']
    priority='normal'resolution=Nonestage='patch review'status='open'superseder=Nonetype='enhancement'url='https://bugs.python.org/issue14243'versions= ['Python 3.10']

    Metadata

    Metadata

    Assignees

    No one assigned

      Labels

      OS-windowsstdlibStandard Library Python modules in the Lib/ directorytype-featureA feature request or enhancement

      Projects

      Status
      Done

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions