Robert Kern wrote:
Neal Becker wrote:
It seems that PyArray_FromAny does not accept a generator?
Seems like this would be useful.
It's difficult to do all the magical interpretation that PyArray_FromAny()
does with a iterator of unknown length. In Python, we have fromiter()
which will
It seems that PyArray_FromAny does not accept a generator?
Seems like this would be useful.
___
Numpy-discussion mailing list
Numpy-discussion@scipy.org
http://projects.scipy.org/mailman/listinfo/numpy-discussion
Neal Becker wrote:
It seems that PyArray_FromAny does not accept a generator?
Seems like this would be useful.
It's difficult to do all the magical interpretation that PyArray_FromAny() does
with a iterator of unknown length. In Python, we have fromiter() which will
consume an iterator to