summaryrefslogtreecommitdiff
path: root/Python/pythonrun.c
diff options
context:
space:
mode:
authorVictor Stinner <victor.stinner@gmail.com>2017-05-02 15:10:39 +0200
committerGitHub <noreply@github.com>2017-05-02 15:10:39 +0200
commit999707373630ce090300c3c542066f493b12faa0 (patch)
tree1085aacebf78a2a85280c6c9934ecfd315f13fcf /Python/pythonrun.c
parent1dae7450c68bad498e57800387b24cb103c461fa (diff)
downloadcpython-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