On 09/10/2012 12:11 PM, bearophile wrote:

I understand. The point of Pyd is to interface D and Python, while NumPy
is something external. So if you find difficulties just keep it out.
Adding it later is possible.


Thing is, pyd will convert a ndarray to d array already, it just won't do it as quickly as it could if it made use of the underlying c array, and

_py(d_type!(double[][])(ndarray))

will result in a list of lists.

So it's really a question of should I add more oddness to an already odd situation.


<OT> Bugger, I'm going to have to go through pyd and replace all usages of str with unicode. </OT>

Reply via email to