From 7bbece8f892c45d7a5b7016ec7d3b137a6a29be2 Mon Sep 17 00:00:00 2001 From: Zach Burnett Date: Thu, 31 Oct 2024 12:16:24 -0400 Subject: [PATCH] remove `memmap=False` default --- asdf/_asdf.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/asdf/_asdf.py b/asdf/_asdf.py index fcecf5b6e..41dac5bed 100644 --- a/asdf/_asdf.py +++ b/asdf/_asdf.py @@ -75,7 +75,7 @@ def __init__( ignore_version_mismatch=NotSet, ignore_unrecognized_tag=False, ignore_implicit_conversion=NotSet, - memmap=False, + memmap=True, lazy_load=True, custom_schema=None, ): @@ -118,7 +118,7 @@ def __init__( memmap : bool, optional When `True`, when reading files, attempt to memmap underlying data - arrays when possible. Defaults to ``False``. + arrays when possible. Defaults to ``True``. lazy_load : bool, optional When `True` and the underlying file handle is seekable, data @@ -1610,7 +1610,7 @@ def open_asdf( ignore_version_mismatch=NotSet, ignore_unrecognized_tag=False, _force_raw_types=False, - memmap=False, + memmap=True, lazy_tree=NotSet, lazy_load=True, custom_schema=None, @@ -1654,7 +1654,7 @@ def open_asdf( memmap : bool, optional When `True`, when reading files, attempt to memmap underlying data - arrays when possible. Default to ``False``. + arrays when possible. Defaults to ``True``. lazy_load : bool, optional When `True` and the underlying file handle is seekable, data