[Numpy-discussion] Python 3 porting
Stéfan van der Walt
stefan at sun.ac.za
Mon Feb 15 14:07:03 EST 2010
Hi Pauli
Well done! You and Charles have made huge strides since last I looked
at the problem.
After your latest changes, numpy builds on OSX, although importing is
still broken:
from . import multiarray
ImportError: dlopen(/Users/stefan/lib/python3.1/site-packages/numpy/core/multiarray.so,
2): Symbol not found: __numpymemoryview_init
Referenced from:
/Users/stefan/lib/python3.1/site-packages/numpy/core/multiarray.so
Expected in: flat namespace
in /Users/stefan/lib/python3.1/site-packages/numpy/core/multiarray.so
Have you seen this before? Looks like something isn't linked
properly, but I'm not sure where memoryview would be defined. Is this
part of the new PEP implementation?
Regards
Stéfan
On 15 February 2010 19:55, Pauli Virtanen <pav at iki.fi> wrote:
> ma, 2010-02-15 kello 10:23 -0700, Charles R Harris kirjoitti:
> [clip]
>> Segfaults:
>>
>> test_multiarray.TestNewBufferProtocol.test_export_simple_1d ... FAIL
>> test_multiarray.TestNewBufferProtocol.test_export_simple_nd ... ok
>> test_multiarray.TestNewBufferProtocol.test_export_subarray ... FAIL
>> test_multiarray.TestNewBufferProtocol.test_roundtrip ... Segmentation
>> fault
>
> Worksforme, and the tests that FAIL above also pass for me... No idea
> what could be different.
>
>> Are there changes you haven't pushed to github?
>
> No. The current is commit 2132bdf550d12af5c2198027182778a47d5d19ab
>
>> I don't want to be making fixes that already exist. It would also be
>> easier to work on this if the current state was in the main repository
>> so that the rest of us could push changes.
>
> I will push the changes to SVN once I clean up some parts of the commit
> history. I'll try to do this ASAP.
>
> Anyway, I will not rebase the py3k branch so it's safe to work on, and
> I'll push any new stuff immediately there.
>
> Pauli
>
>
>
>
> _______________________________________________
> NumPy-Discussion mailing list
> NumPy-Discussion at scipy.org
> http://mail.scipy.org/mailman/listinfo/numpy-discussion
>
More information about the NumPy-Discussion
mailing list