On 15 Mar 2014 09:56, "Greg Ewing" <greg.ewing@canterbury.ac.nz> wrote:
>
> Antoine Pitrou wrote:
>
>> It depends how the vectors are layed out (horizontal @ vertical or
>> vertical @ horizontal).
>
>
> The definition of @ in the proposal is such that two
> 1D arrays is interpreted as horizontal @ vertical.

Oh, nice! Maybe the PEP should include implementing that for lists and our other 1D sequence types?

Also, I just remembered another minor error in the PEP - as of Python 3.3, memoryview.cast() allows the creation of multidimensional views, so the PEP is incorrect in saying that can't be done with the builtins/stdlib.

Cheers,
Nick.

>
> --
> Greg
>
> _______________________________________________
> Python-ideas mailing list
> Python-ideas@python.org
> https://mail.python.org/mailman/listinfo/python-ideas
> Code of Conduct: http://python.org/psf/codeofconduct/