Re: [Cython] Utility Codes and templates

2011-07-25 Thread Robert Bradshaw
On Mon, Jul 25, 2011 at 11:50 PM, Stefan Behnel wrote: > Robert Bradshaw, 26.07.2011 07:00: >> >> On Mon, Jul 25, 2011 at 9:48 PM, Vitja Makarov wrote: >>> >>> I think that would seriously help with  moving shared C-code into >>> cython library (.h and .so). >>> >>> Some things like generator clas

Re: [Cython] Utility Codes and templates

2011-07-25 Thread Stefan Behnel
Robert Bradshaw, 26.07.2011 07:00: On Mon, Jul 25, 2011 at 9:48 PM, Vitja Makarov wrote: I think that would seriously help with moving shared C-code into cython library (.h and .so). Some things like generator class implementation and cyfunction could be move into .so file. Yes, that would b

Re: [Cython] Utility Codes and templates

2011-07-25 Thread Robert Bradshaw
On Mon, Jul 25, 2011 at 11:39 PM, Stefan Behnel wrote: > Robert Bradshaw, 26.07.2011 06:29: >> >> On Mon, Jul 25, 2011 at 3:07 AM, mark florisson >>> >>> It's now 'MyUtility' and >>> 'MyUtility.proto'. If there's no objection to the ini-style header >>> (with requirements and other metadata possib

Re: [Cython] Utility Codes and templates

2011-07-25 Thread Stefan Behnel
Robert Bradshaw, 26.07.2011 06:29: On Mon, Jul 25, 2011 at 3:07 AM, mark florisson It's now 'MyUtility' and 'MyUtility.proto'. If there's no objection to the ini-style header (with requirements and other metadata possibly), then I'll implement that one of these days. One drawback with the ini

Re: [Cython] Utility Codes and templates

2011-07-25 Thread Robert Bradshaw
On Mon, Jul 25, 2011 at 9:48 PM, Vitja Makarov wrote: > 2011/7/26 Robert Bradshaw : >> On Mon, Jul 25, 2011 at 3:07 AM, mark florisson >> wrote: >>> On 25 July 2011 12:00, Stefan Behnel wrote: Vitja Makarov, 25.07.2011 10:25: > > 2011/7/25 Stefan Behnel: >> >> Vitja Makarov,

Re: [Cython] Utility Codes and templates

2011-07-25 Thread Vitja Makarov
2011/7/26 Robert Bradshaw : > On Mon, Jul 25, 2011 at 3:07 AM, mark florisson > wrote: >> On 25 July 2011 12:00, Stefan Behnel wrote: >>> Vitja Makarov, 25.07.2011 10:25: 2011/7/25 Stefan Behnel: > > Vitja Makarov, 25.07.2011 08:41: >> >> 2011/7/23 Robert Bradshaw: >

Re: [Cython] Utility Codes and templates

2011-07-25 Thread Robert Bradshaw
On Mon, Jul 25, 2011 at 3:07 AM, mark florisson wrote: > On 25 July 2011 12:00, Stefan Behnel wrote: >> Vitja Makarov, 25.07.2011 10:25: >>> >>> 2011/7/25 Stefan Behnel: Vitja Makarov, 25.07.2011 08:41: > > 2011/7/23 Robert Bradshaw: >> >> On Fri, Jul 22, 2011 at 3:12 AM

Re: [Cython] Transformation of pxds

2011-07-25 Thread Romain Guillebert
Hi I can now compile pxd files, but I have encountered something rather strange : AnalyseExpressionsTransform turns : cimport foo def test(): foo.printf() into : cimport foo def test(): printf() It is due to the method analyse_as_cimported_attribute of AttributeNode in the file Cytho

Re: [Cython] Utility Codes and templates

2011-07-25 Thread mark florisson
On 25 July 2011 12:00, Stefan Behnel wrote: > Vitja Makarov, 25.07.2011 10:25: >> >> 2011/7/25 Stefan Behnel: >>> >>> Vitja Makarov, 25.07.2011 08:41: 2011/7/23 Robert Bradshaw: > > On Fri, Jul 22, 2011 at 3:12 AM, mark florisson >    wrote: >> >> For my work on the

Re: [Cython] Utility Codes and templates

2011-07-25 Thread Stefan Behnel
Vitja Makarov, 25.07.2011 10:25: 2011/7/25 Stefan Behnel: Vitja Makarov, 25.07.2011 08:41: 2011/7/23 Robert Bradshaw: On Fri, Jul 22, 2011 at 3:12 AM, mark florisson wrote: For my work on the _memview branch (and also on fused types) I noticed that UtilityCodes started weighing heavily

Re: [Cython] Utility Codes and templates

2011-07-25 Thread Vitja Makarov
2011/7/25 Stefan Behnel : > Vitja Makarov, 25.07.2011 08:41: >> >> 2011/7/23 Robert Bradshaw: >>> >>> On Fri, Jul 22, 2011 at 3:12 AM, mark florisson >>>  wrote: For my work on the _memview branch (and also on fused types) I noticed that UtilityCodes started weighing heavily on me i