Serhiy Storchaka <storchaka+cpyt...@gmail.com> added the comment:

I think it is okay. Just check that all platforms which support pread() (Linux, 
*BSD, macOS) pass the length as size_t instead of int. Windows does not always 
support length larger than 2 KiB, but it does not support pread() either.

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue38265>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to