bigint <-> python long
Ellery Newcomer
ellery-newcomer at utulsa.edu
Mon Sep 10 15:54:28 PDT 2012
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>
More information about the Digitalmars-d-learn
mailing list