Are they all using the same platform ? I suspect you're seeing the (3L, 4L)
on windows 64 bits, correct ?

FWIW, the numpy provided in Canopy is straight up upstream numpy + few
patches not merged in releases yet, and any divergence from upstream would
be considered as a bug by the canopy packaging people (i.e. me :-) ).

David


On Fri, Sep 13, 2013 at 9:07 AM, Mark Bakker <mark...@gmail.com> wrote:

> Hello List,
>
> I am teaching a Python programming class where students use their own
> computer.
>
> When I create an array with 3 rows and 4 columns, a = zeros((3,4)), and
> ask for the shape, shape(a), then some students get (3,4), while others get
> (3L,4L).
>
> I guess the 3L and 4L are long integers. I wonder why they don't all get
> the same thing. They all installed numpy through Canopy Express. Any
> thoughts? Is this a setting in printoptions maybe?
>
> Thanks,
>
> Mark
>
> _______________________________________________
> NumPy-Discussion mailing list
> NumPy-Discussion@scipy.org
> http://mail.scipy.org/mailman/listinfo/numpy-discussion
>
>
_______________________________________________
NumPy-Discussion mailing list
NumPy-Discussion@scipy.org
http://mail.scipy.org/mailman/listinfo/numpy-discussion

Reply via email to