Ralf Schmitt <[EMAIL PROTECTED]> 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 <[EMAIL PROTECTED]> <http://bugs.python.org/issue2122> __________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com