[issue10867] python mmap objects issue msync() in destructor even if mapping was created with prot=mmap.PROT_READ only

Charles-Francois Natali report at bugs.python.org
Sat Jan 8 17:02:52 CET 2011


Charles-Francois Natali <neologix at free.fr> added the comment:

> python mmap objects issue msync() in destructor even if mapping was created with  prot=mmap.PROT_READ only

Actually, the call to msync(2) from destructor has been removed altogether in py3k. See http://bugs.python.org/issue2643.

The patch (one line) might be worth backporting, though.

----------
nosy: +neologix

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue10867>
_______________________________________


More information about the Python-bugs-list mailing list