<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Sat, Jul 21, 2018 at 7:06 PM, Marten van Kerkwijk <span dir="ltr"><<a href="mailto:m.h.vankerkwijk@gmail.com" target="_blank">m.h.vankerkwijk@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div><div><div><div>Hi Ralf,<br><br></div>Maybe as a concrete example of something that has been discussed, for which your proposed text makes (I think) clear what should or should not be done:<br></div><br></div>Many of us hate that `np.array` (like, sadly, many other numpy parts) auto-converts anything not obviously array-like to dtype=object, and it has been suggested we should no longer do this by default [1]. Given your NEP, I think you would disagree with that path, as it would quite obviously break user's code (we also get regular issues about object arrays, which show that they are used a lot in the wild). So, instead I guess one might go with a route where one could explicitly tell `dtype=object` was not wanted (say, `dtype="everything-but-object'<wbr>)?<br></div></div></div></blockquote><div><br></div><div>Thanks, good example. "everything-but-object" makes sense to me. I'd indeed argue that changing the current conversion to object dtype behavior would break way too much code. <br></div><div><br></div><div>Cheers,<br></div><div>Ralf</div><div><br></div><div> <br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div><br></div>All the best,<br><br></div>Marten<br><br>[1] <a href="https://github.com/numpy/numpy/issues/5353" target="_blank">https://github.com/numpy/<wbr>numpy/issues/5353</a><br></div></blockquote></div></div></div>