<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Nov 4, 2015 at 8:28 PM, Charles R Harris <span dir="ltr"><<a href="mailto:charlesr.harris@gmail.com" target="_blank">charlesr.harris@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div><div>Hi All,<br><br></div>This is to open a discussion of a change of behavior of `np.allclose`. That function uses `isclose` in numpy 1.10 with the result that array subtypes are preserved whereas before they were not. In particular, memmaps are returned when at least one of the inputs is a memmap. By and large I think this is a good thing, OTOH, it is a change in behavior. It is easy to fix, just run `np.array(result, copy=False)` on the current `result`, but I thought I'd raise the topic on the list in case there is a good argument to change things.<br></div></div></blockquote><div> <br></div><div>Why would it be good to return a memmap? And am I confused or does your just merged PR [1] revert the behavior you say here is a good thing?<br><br></div><div>Ralf<br><br>[1] <a href="https://github.com/numpy/numpy/pull/6628">https://github.com/numpy/numpy/pull/6628</a><br></div></div><br></div></div>