Author byronhawkins
Recipients byronhawkins
Date 2018-02-08.15:06:58
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1518102419.01.0.467229070634.issue32798@psf.upfronthosting.co.za>
In-reply-to
Content
open_file = open("file.txt", "r+b")
file_map = mmap.mmap(open_file, 0)
file_map.seek(offset)
file_map.write("foobar") # success
file_map.flush() # success
file_map.flush(offset, len("foobar")) # Fails with "errno 22"

This example passes correct arguments to mmap.flush(), yet it fails with errno 22. So the arguments are not valid on linux. If the bug cannot be fixed, then all reference to those two arguments should be removed from the code and documentation related to Linux.
History
Date User Action Args
2018-02-08 15:06:59byronhawkinssetrecipients: + byronhawkins
2018-02-08 15:06:59byronhawkinssetmessageid: <1518102419.01.0.467229070634.issue32798@psf.upfronthosting.co.za>
2018-02-08 15:06:58byronhawkinslinkissue32798 messages
2018-02-08 15:06:58byronhawkinscreate