[Numpy-discussion] array, asarray as contiguous and friends

Sasha ndarray at mac.com
Thu Mar 23 14:22:04 CST 2006


On 3/23/06, Travis Oliphant <oliphant at ee.byu.edu> wrote:
> Thus, in my mind, the array call should get another flag keyword that
> forces a contiguous result.

Please don't! The fortran flag is bad enough, but has too much history
behind it.  Let's not breed boolean parameters. Sooner or later
someone will use keword arguments positionally and you will end up
guessing what

array([1,2], int8_, 1, 1, 0, 0)

means.




More information about the Numpy-discussion mailing list