Re: [Cython] Utilities, cython.h, libcython

2011-10-05 Thread Stefan Behnel
mark florisson, 05.10.2011 15:53: On 5 October 2011 08:16, Stefan Behnel wrote: mark florisson, 04.10.2011 23:19: Another issue is that Cython compile time is increasing with the addition of control flow and cython utilities. If you use fused types you're also going to combinatorially add more

Re: [Cython] Utilities, cython.h, libcython

2011-10-05 Thread Robert Bradshaw
On Wednesday, October 5, 2011, mark florisson wrote: > On 5 October 2011 08:16, Stefan Behnel > > wrote: > > mark florisson, 04.10.2011 23:19: > >> > >> So I propose that after fused types gets merged we try to move as many > >> utility codes as possible to their utility code files (unless they ar

Re: [Cython] Utilities, cython.h, libcython

2011-10-05 Thread Robert Bradshaw
On Wednesday, October 5, 2011, mark florisson wrote: > On 5 October 2011 01:46, Robert Bradshaw > > > wrote: > > On Tue, Oct 4, 2011 at 2:19 PM, mark florisson > > > wrote: > >> Hey, > >> > >> I briefly mentioned something about this in a pull request, but maybe > >> it deserves some actual discu

Re: [Cython] [cython-users] Re: callback function pointer problem

2011-10-05 Thread Greg Ewing
Robert Bradshaw wrote: On this note, eventually I would like coerce structs (and unions, enums) to auto-generated wrapper classes, visible in the Python module namespace if one declares them as "cpdef struct ..." Would these wrapper classes contain a copy of the struct, or would they reference

[Cython] scons support

2011-10-05 Thread Neal Becker
I have no idea why this doesn't work for me. Looking at http://www.mail-archive.com/cython-dev@codespeak.net/msg09540.html scons --version SCons by Steven Knight et al.: script: v2.1.0.r5357[MODIFIED], 2011/09/09 21:31:03, by bdeegan on ubuntu engine: v2.1.0.r5357[MODIFIED], 201

Re: [Cython] Utilities, cython.h, libcython

2011-10-05 Thread mark florisson
On 5 October 2011 14:54, mark florisson wrote: > On 5 October 2011 08:38, Robert Bradshaw wrote: >> On Wed, Oct 5, 2011 at 12:16 AM, Stefan Behnel wrote: >>> mark florisson, 04.10.2011 23:19: So I propose that after fused types gets merged we try to move as many utility codes as p

Re: [Cython] Utilities, cython.h, libcython

2011-10-05 Thread mark florisson
On 5 October 2011 01:46, Robert Bradshaw wrote: > On Tue, Oct 4, 2011 at 2:19 PM, mark florisson > wrote: >> Hey, >> >> I briefly mentioned something about this in a pull request, but maybe >> it deserves some actual discussion on the ML. >> >> So I propose that after fused types gets merged we t

Re: [Cython] Utilities, cython.h, libcython

2011-10-05 Thread mark florisson
On 5 October 2011 08:38, Robert Bradshaw wrote: > On Wed, Oct 5, 2011 at 12:16 AM, Stefan Behnel wrote: >> mark florisson, 04.10.2011 23:19: >>> >>> So I propose that after fused types gets merged we try to move as many >>> utility codes as possible to their utility code files (unless they are >>

Re: [Cython] Utilities, cython.h, libcython

2011-10-05 Thread mark florisson
On 5 October 2011 08:16, Stefan Behnel wrote: > mark florisson, 04.10.2011 23:19: >> >> So I propose that after fused types gets merged we try to move as many >> utility codes as possible to their utility code files (unless they are >> used in pending pull requests or other branches). Preferably t

Re: [Cython] [cython-users] Re: callback function pointer problem

2011-10-05 Thread Robert Bradshaw
On Fri, Sep 30, 2011 at 2:14 PM, Dag Sverre Seljebotn wrote: > Are you saying that when coercing a struct to an object, one would copy > scalar fields by value but reference array fields? -1, that would be > confusing. Either the whole struct through a view, or copy it all. +1 > It bothers me th

Re: [Cython] Utilities, cython.h, libcython

2011-10-05 Thread Robert Bradshaw
On Wed, Oct 5, 2011 at 12:16 AM, Stefan Behnel wrote: > mark florisson, 04.10.2011 23:19: >> >> So I propose that after fused types gets merged we try to move as many >> utility codes as possible to their utility code files (unless they are >> used in pending pull requests or other branches). Pref

Re: [Cython] Utilities, cython.h, libcython

2011-10-05 Thread Stefan Behnel
mark florisson, 04.10.2011 23:19: So I propose that after fused types gets merged we try to move as many utility codes as possible to their utility code files (unless they are used in pending pull requests or other branches). Preferably this will be done in one or a few commits. How should we spl