[issue34429] On Windows tempfile.TemporaryFile behaves like NamedTemporaryFile

2018-08-24 Thread Terry J. Reedy
Terry J. Reedy added the comment: 3.4 and 3.5 only get security fixes. Anyone preparing PR should check that behavior and doc is same on master; I just assumed in setting Versions header. In the proposed text, it is not clear that 'non' applies to cygwin also. Instead: "On platforms that

[issue34429] On Windows tempfile.TemporaryFile behaves like NamedTemporaryFile

2018-08-18 Thread dwich
New submission from dwich : On Windows tempfile.TemporaryFile() accepts delete attribute. On Linux TemporaryFile() raises TypeError if delete attribute is used. In tempfile.py source is the code below which means that on Windows TemporaryFile behaves like NamedTemporaryFile. I suppose the