Message292881
> You could call buffer.seek(0, SEEK_CUR) rather than buffer.tell() for avoiding a system call for readable stream. But this looks as a shamanism too.
Note: Buffered.seek(0, SEEK_CUR) only has a fast-path for readable file: it cannot be used to optimize open(filename, "w") (BufferedWriter.seek() isn't optimized). |
|
Date |
User |
Action |
Args |
2017-05-03 10:32:43 | vstinner | set | recipients:
+ vstinner, pitrou, serhiy.storchaka |
2017-05-03 10:32:43 | vstinner | set | messageid: <1493807563.46.0.124017099518.issue30228@psf.upfronthosting.co.za> |
2017-05-03 10:32:43 | vstinner | link | issue30228 messages |
2017-05-03 10:32:43 | vstinner | create | |
|