This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author rpampana
Recipients ezio.melotti, mrabarnett, rpampana
Date 2016-09-28.14:07:23
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1475071644.11.0.394277975452.issue28302@psf.upfronthosting.co.za>
In-reply-to
Content
Unpacking numpy array gives list rather numpy array.

>>> import numpy as np
>>> a = np.array([1,2,3,4])
>>> x, *y, z = a
>>> type(a)
<class 'numpy.ndarray'>
>>> type(y)
<class 'list'>>
>> type(x)
<class 'numpy.int32'>
History
Date User Action Args
2016-09-28 14:07:24rpampanasetrecipients: + rpampana, ezio.melotti, mrabarnett
2016-09-28 14:07:24rpampanasetmessageid: <1475071644.11.0.394277975452.issue28302@psf.upfronthosting.co.za>
2016-09-28 14:07:24rpampanalinkissue28302 messages
2016-09-28 14:07:23rpampanacreate