Message357603
Do we need to explicitly document the return value change of _file which is documented with a separate versionchanged directive for 3.7 and 3.8? Code like below could fail in them since TextIOWrapper doesn't have getvalue attribute as the minor version upgrade is done.
import tempfile
with tempfile.SpooledTemporaryFile(mode='wt') as f:
f.write('abc')
assert f._file.getvalue() == 'abc' |
|
Date |
User |
Action |
Args |
2019-11-28 05:44:16 | xtreak | set | recipients:
+ xtreak, r.david.murray, methane, martin.panter, serhiy.storchaka, James Hennessy, miss-islington, graham.coster |
2019-11-28 05:44:16 | xtreak | set | messageid: <1574919856.61.0.0414490447759.issue26730@roundup.psfhosted.org> |
2019-11-28 05:44:16 | xtreak | link | issue26730 messages |
2019-11-28 05:44:16 | xtreak | create | |
|