Message196485
Issue occurs in the following code: tempfile.NamedTemporaryFile(dir=".",delete=False).write("hello") The NamedTemporaryFile is deleted before the write is complete; deleting the object closes the file, so the write fails. | |
| Date | User | Action | Args | | 2013-08-29 20:25:43 | jort.bloem | set | recipients: + jort.bloem | | 2013-08-29 20:25:43 | jort.bloem | set | messageid: <1377807943.36.0.898364678904.issue18879@psf.upfronthosting.co.za> | | 2013-08-29 20:25:43 | jort.bloem | link | issue18879 messages | | 2013-08-29 20:25:43 | jort.bloem | create | | |