Message382746
>>> import os
>>> r, w = os.pipe()
>>> os.lseek(w, 10, 0)
10
>>> wf = open(w, 'w')
>>> wf.seekable()
True
This happens on Windows. Consequently seek() works for these objects but they seems to be no-op. This may confuse libraries that depend on seeking.
The named pipe objects (via CreateNamedPipe -> open_osfhandle -> open()) exhibit the same behavior. |
|
Date |
User |
Action |
Args |
2020-12-08 15:55:37 | nedsociety | set | recipients:
+ nedsociety |
2020-12-08 15:55:37 | nedsociety | set | messageid: <1607442937.17.0.755090753747.issue42602@roundup.psfhosted.org> |
2020-12-08 15:55:37 | nedsociety | link | issue42602 messages |
2020-12-08 15:55:37 | nedsociety | create | |
|