Message196952
I am only new to Python, but...
Having looked at the code, I am surprised that the _TemporaryFileWrapper is not a subclass of "file". Surely that would be the "python" way, and would solve this problem, too? __getattr__ would no longer be needed. The opening of the file is within the library, so _os.open() could be replaced with file()... It would require rewriting/reorganising chunks of this code... |
|
Date |
User |
Action |
Args |
2013-09-04 20:46:24 | jort.bloem | set | recipients:
+ jort.bloem, georg.brandl, ncoghlan, vstinner, r.david.murray, meador.inge, serhiy.storchaka |
2013-09-04 20:46:24 | jort.bloem | set | messageid: <1378327584.89.0.274856143475.issue18879@psf.upfronthosting.co.za> |
2013-09-04 20:46:24 | jort.bloem | link | issue18879 messages |
2013-09-04 20:46:24 | jort.bloem | create | |
|