This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author xtreak
Recipients James Hennessy, graham.coster, martin.panter, methane, miss-islington, r.david.murray, serhiy.storchaka, xtreak
Date 2019-11-28.05:44:16
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1574919856.61.0.0414490447759.issue26730@roundup.psfhosted.org>
In-reply-to
Content
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'
History
Date User Action Args
2019-11-28 05:44:16xtreaksetrecipients: + xtreak, r.david.murray, methane, martin.panter, serhiy.storchaka, James Hennessy, miss-islington, graham.coster
2019-11-28 05:44:16xtreaksetmessageid: <1574919856.61.0.0414490447759.issue26730@roundup.psfhosted.org>
2019-11-28 05:44:16xtreaklinkissue26730 messages
2019-11-28 05:44:16xtreakcreate