This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author nedsociety
Recipients nedsociety
Date 2020-12-08.15:55:37
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1607442937.17.0.755090753747.issue42602@roundup.psfhosted.org>
In-reply-to
Content
>>> 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.
History
Date User Action Args
2020-12-08 15:55:37nedsocietysetrecipients: + nedsociety
2020-12-08 15:55:37nedsocietysetmessageid: <1607442937.17.0.755090753747.issue42602@roundup.psfhosted.org>
2020-12-08 15:55:37nedsocietylinkissue42602 messages
2020-12-08 15:55:37nedsocietycreate