Thanks for the hint. Compiling in plain python complained about some 
missing header files. Adding them to the include path seemed to solve the 
problem for now. 

El domingo, 5 de febrero de 2017, 13:25:48 (UTC+1), Volker Braun escribió:
>
> On Sunday, February 5, 2017 at 11:38:25 AM UTC+1, mmarco wrote:
>>
>> cdef extern from "my_library.h":
>>     mpfr_t* my_function (mpfr_t *_coef)
>>
>
>
> That isn't exactly idiomatic C++, but ok
>  
>
> /home/mmarco/sage/local/lib/python2.7/site-packages/IPython/core/ultratb.pyc 
>> in is_recursion_error(etype, value, records) 
>>     439     # a recursion error. 
>>     440     return (etype is recursion_error_type) \ 
>> --> 441            and "recursion" in str(value).lower() \ 
>>     442            and len(records) > 500 
>>     443  
>>  
>> UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 
>> 1158: ordinal not in range(128)
>>
>
>  
> Thats an IPython bug, it craps out while trying to show you the error. Can 
> you compile this in plain Python and get the actual traceback?
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"sage-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-devel+unsubscr...@googlegroups.com.
To post to this group, send email to sage-devel@googlegroups.com.
Visit this group at https://groups.google.com/group/sage-devel.
For more options, visit https://groups.google.com/d/optout.

Reply via email to