[issue2643] mmap_object_dealloc calls time-consuming msync(), although close doesn't

Martin v. Löwis report at bugs.python.org
Tue Sep 21 18:00:32 CEST 2010

Martin v. Löwis <martin at v.loewis.de> added the comment:

I think Antoine misinterpreted my message. I do think that flush should continue to msync, except in cases where there really is no underlying file to sync to. It may (or may not) be unfortunate that the method is called flush, but nothing is gained by renaming it.

I agree that calling msync on close/dealloc is not really necessary. The Windows version doesn't sync, either.

nosy: +loewis

Python tracker <report at bugs.python.org>

More information about the Python-bugs-list mailing list