Charles-Francois Natali <neolo...@free.fr> added the comment:

>  have changed title of the bug. This is more precisely describe the problem

Yes, its's not quite the same problem.

> I think, that flush() should be no-op if mapping is read-only.

This has already be done for py3k. See 
http://svn.python.org/view/python/branches/py3k/Modules/mmapmodule.c?r1=84950&r2=85678

Note that you shouldn't be calling flush in the first place...

----------

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

Reply via email to