Message196985
I don't see an obvious way of solving that. One thing I could think of is creating a wrapper for file method being returned from __getattr__ that holds reference to _TemporaryFileWrapper instance until the method gets called, please find a patch attached. |
|
Date |
User |
Action |
Args |
2013-09-05 08:41:54 | jstasiak | set | recipients:
+ jstasiak, georg.brandl, ncoghlan, vstinner, r.david.murray, meador.inge, serhiy.storchaka, jort.bloem |
2013-09-05 08:41:53 | jstasiak | set | messageid: <1378370513.98.0.753126070354.issue18879@psf.upfronthosting.co.za> |
2013-09-05 08:41:53 | jstasiak | link | issue18879 messages |
2013-09-05 08:41:53 | jstasiak | create | |
|