On Thursday, October 24, 2019 at 10:57:09 AM UTC-7, Dima Pasechnik wrote:
>
> On Thu, Oct 24, 2019 at 6:48 PM Nils Bruin <nbr...@sfu.ca <javascript:>> 
> wrote: 
> > 
> > On Thursday, October 24, 2019 at 10:29:48 AM UTC-7, Nils Bruin wrote: 
> >> 
> >> 
> >> I guess via ctypes it would be possible too. 
> > 
> > 
> > Browsing the documentation, something like: 
> > 
> > libc=ctypes.cdll.LoadLibrary("libc.so.6") 
> > libc.fflush(0r) 
> > 
> > should work. And this should cause way less overhead than calling cython 
> (because we don't have to call a c compiler). Problem here of course is how 
> to make the "libc.so.6" cross-platform. 
>
> this is something that can be easily done at configure time, figuring 
> out the correct value for this string and putting it into 
> an environment variable. 
>

For one doctest, I don't think we want to bother with configure time and an 
environment variable. Both seem to work, but the cython solution looks 
better to me.
 

>
>
> > So perhaps the cython solution is better ... 
> > 
> > -- 
> > 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-...@googlegroups.com <javascript:>. 
> > To view this discussion on the web visit 
> https://groups.google.com/d/msgid/sage-devel/3d6e24b1-4ace-4b12-98ea-aa2b4ac70c99%40googlegroups.com.
>  
>
>

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-devel/eddcc521-5dbc-4336-a63d-4419d3614ca2%40googlegroups.com.

Reply via email to