2011/2/1 Warren Weckesser :
>> Shall I file a ticket?
>
> Yes.
Ok, #1730: http://projects.scipy.org/numpy/ticket/1730.
Thanks,
Friedrich
___
NumPy-Discussion mailing list
NumPy-Discussion@scipy.org
http://mail.scipy.org/mailman/listinfo/numpy-discussio
On Mon, Jan 31, 2011 at 8:32 PM, Friedrich Romstedt <
friedrichromst...@gmail.com> wrote:
> 2011/1/28 Friedrich Romstedt :
> numpy.asarray([X(), numpy.asarray([1, 1])]).shape
> > (2,)
> numpy.asarray([numpy.asarray([1, 1]), X()]).shape
> > ()
>
> Does noone have an opinion about this?
2011/1/28 Friedrich Romstedt :
numpy.asarray([X(), numpy.asarray([1, 1])]).shape
> (2,)
numpy.asarray([numpy.asarray([1, 1]), X()]).shape
> ()
Does noone have an opinion about this? Shall I file a ticket?
Friedrich
___
NumPy-Discussion mailin
Python 2.6.6 (r266:84374, Aug 31 2010, 11:00:51)
[GCC 4.0.1 (Apple Inc. build 5493)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> import numpy
>>> numpy.__version__
'1.5.1'
>>> class X:
... pass
...
>>> numpy.asarray([X(), numpy.asarray([1, 1])]).shape
(2