Message239565
I think I have often passed delete=False because of the documented deficiency with Windows (see Issue 14243). Depending on the outcome of that issue, allowing for deletion after close() might be useful too.
BTW, monkey-patching __del__() probably won’t work if you only set an attribute on the “f” instance, instead of modifying the class itself. See <file:///home/proj/python/cpython/Doc/build/html/reference/datamodel.html#special-method-lookup>. |
|
Date |
User |
Action |
Args |
2015-03-30 04:21:10 | martin.panter | set | recipients:
+ martin.panter, Stephen Gallagher |
2015-03-30 04:21:10 | martin.panter | set | messageid: <1427689270.56.0.603607572579.issue23755@psf.upfronthosting.co.za> |
2015-03-30 04:21:10 | martin.panter | link | issue23755 messages |
2015-03-30 04:21:10 | martin.panter | create | |
|