Re: [Cython] Wacky idea: proper macros

2012-04-28 Thread Stefan Behnel
Wes McKinney, 29.04.2012 03:14: > On Sat, Apr 28, 2012 at 5:25 PM, mark florisson wrote: >> On 28 April 2012 22:04, Nathaniel Smith wrote: >>> Was chatting with Wes today about the usual problem many of us have >>> encountered with needing to use some sort of templating system to >>> generate code

Re: [Cython] dynamically compile and import pure python modules

2012-04-28 Thread Stefan Behnel
mark florisson, 28.04.2012 21:55: > On 28 April 2012 19:39, Stefan Behnel wrote: >> mark florisson, 28.04.2012 20:18: >>> On 28 April 2012 18:55, Stefan Behnel wrote: mark florisson, 27.04.2012 22:38: > On 27 April 2012 21:16, Stefan Behnel wrote: >> What about this deal: we remove the

Re: [Cython] Wacky idea: proper macros

2012-04-28 Thread Wes McKinney
On Sat, Apr 28, 2012 at 5:25 PM, mark florisson wrote: > On 28 April 2012 22:04, Nathaniel Smith wrote: >> Was chatting with Wes today about the usual problem many of us have >> encountered with needing to use some sort of templating system to >> generate code handling multiple types, operations,

Re: [Cython] Wacky idea: proper macros

2012-04-28 Thread mark florisson
On 28 April 2012 22:04, Nathaniel Smith wrote: > Was chatting with Wes today about the usual problem many of us have > encountered with needing to use some sort of templating system to > generate code handling multiple types, operations, etc., and a wacky > idea occurred to me. So I thought I'd th

[Cython] Wacky idea: proper macros

2012-04-28 Thread Nathaniel Smith
Was chatting with Wes today about the usual problem many of us have encountered with needing to use some sort of templating system to generate code handling multiple types, operations, etc., and a wacky idea occurred to me. So I thought I'd through it out here. What if we added a simple macro faci

Re: [Cython] dynamically compile and import pure python modules

2012-04-28 Thread mark florisson
On 28 April 2012 19:39, Stefan Behnel wrote: > mark florisson, 28.04.2012 20:18: >> On 28 April 2012 18:55, Stefan Behnel wrote: >>> mark florisson, 27.04.2012 22:38: On 27 April 2012 21:16, Stefan Behnel wrote: > What about this deal: we remove the hard bootstrap dependency on the fused

Re: [Cython] dynamically compile and import pure python modules

2012-04-28 Thread Stefan Behnel
mark florisson, 28.04.2012 20:18: > On 28 April 2012 18:55, Stefan Behnel wrote: >> mark florisson, 27.04.2012 22:38: >>> On 27 April 2012 21:16, Stefan Behnel wrote: What about this deal: we remove the hard bootstrap dependency on the fused types code (and maybe other Cython specific fea

Re: [Cython] dynamically compile and import pure python modules

2012-04-28 Thread mark florisson
On 28 April 2012 18:55, Stefan Behnel wrote: > mark florisson, 27.04.2012 22:38: >> On 27 April 2012 21:16, Stefan Behnel wrote: >>> What about this deal: we remove the hard bootstrap dependency on the fused >>> types code (and maybe other Cython specific features) and require its >>> compilation

Re: [Cython] dynamically compile and import pure python modules

2012-04-28 Thread Stefan Behnel
mark florisson, 27.04.2012 22:38: > On 27 April 2012 21:16, Stefan Behnel wrote: >> What about this deal: we remove the hard bootstrap dependency on the fused >> types code (and maybe other Cython specific features) and require its >> compilation at install time in Py2.4 (and maybe even 2.5). That