bundles / astropy latest / astropy / utils / decorators / _mmap_available
classproperty
astropy.utils.decorators:_mmap_available
source: /astropy/utils/decorators.py
Summary
Tests that mmap, and specifically mmap.flush works. This may be the case on some uncommon platforms (see https://github.com/astropy/astropy/issues/968).
Extended Summary
If mmap.flush is found not to work, self.memmap = False is set and a warning is issued.
Aliases
-
astropy.io.fits.convenience._File._mmap_available