[issue2122] mmap.flush does not check for errors on windows
Ralf Schmitt
report at bugs.python.org
Mon Mar 10 09:19:24 CET 2008
Ralf Schmitt <schmir at gmail.com> added the comment:
attached is a patch. I hope it is ok to change the semantics a bit.
They were very strange:
- on unix it raises an exception on errors. otherwise it always returns 0.
- on windows it returns non-zero on success, and returns zero on errors.
Now, flush returns None or raises an Exception.
Added file: http://bugs.python.org/file9645/mmap-flush.txt
__________________________________
Tracker <report at bugs.python.org>
<http://bugs.python.org/issue2122>
__________________________________
More information about the Python-bugs-list
mailing list