diff options
author | Victor Stinner <victor.stinner@gmail.com> | 2017-05-02 15:10:39 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-05-02 15:10:39 +0200 |
commit | 999707373630ce090300c3c542066f493b12faa0 (patch) | |
tree | 1085aacebf78a2a85280c6c9934ecfd315f13fcf /Python/pythonrun.c | |
parent | 1dae7450c68bad498e57800387b24cb103c461fa (diff) | |
download | cpython-git-999707373630ce090300c3c542066f493b12faa0.tar.gz |
bpo-30228: FileIO seek() and tell() set seekable (#1384)
FileIO.seek() and FileIO.tell() method now set the internal seekable
attribute to avoid one syscall on open() (in buffered or text mode).
The seekable property is now also more reliable since its value is
set correctly on memory allocation failure.
Diffstat (limited to 'Python/pythonrun.c')
0 files changed, 0 insertions, 0 deletions