Message282366
> The point of ResourceWarning it tell you when you are depending on destructors for cleanup
But there is an explicit call in __del__ to .close(), it's looks like intended behaviour and is ultimately the difference that Jon was seeing between NamedTemporaryFile and TemporaryFile. |
|
Date |
User |
Action |
Args |
2016-12-04 21:12:17 | SilentGhost | set | recipients:
+ SilentGhost, r.david.murray, jdufresne |
2016-12-04 21:12:17 | SilentGhost | set | messageid: <1480885937.87.0.737787527942.issue28867@psf.upfronthosting.co.za> |
2016-12-04 21:12:17 | SilentGhost | link | issue28867 messages |
2016-12-04 21:12:17 | SilentGhost | create | |
|