• Victor Stinner's avatar
    bpo-30228: FileIO seek() and tell() set seekable (#1384) · 99970737
    Victor Stinner yazdı
    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.
    99970737
fileio.c 32.4 KB