[issue16212] mmap() dumps core upon resizing the underlying file

Vladimir Ushakov report at bugs.python.org
Sun Oct 14 11:20:20 CEST 2012


Vladimir Ushakov added the comment:

> ...it's just impossible to guarantee that Python internal structures are still consistent.

In generic case, I completely agree. Here the things are much simpler (unless I missed something). We know perfectly well the code we need to protect (mmap accessors). We can make the protected sections small enough to ensure that no internal state gets corrupted. I just feel, I can do it simply and safely.

----------

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


More information about the Python-bugs-list mailing list