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

2012-04-29 Thread mark florisson
On 29 April 2012 05:50, Stefan Behnel wrote: > 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 Beh

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] 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

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

2012-04-27 Thread mark florisson
On 27 April 2012 21:16, Stefan Behnel wrote: > mark florisson, 27.04.2012 21:16: >> On 22 March 2012 20:07, Stefan Behnel wrote: >>> mark florisson, 22.03.2012 19:50: For the fused type runtime dispatch I found it very convenient to use the with statement, but that is not supported in Py

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

2012-04-27 Thread Stefan Behnel
mark florisson, 27.04.2012 21:16: > On 22 March 2012 20:07, Stefan Behnel wrote: >> mark florisson, 22.03.2012 19:50: >>> For the fused type runtime dispatch I found it very convenient to use >>> the with statement, but that is not supported in Python 2.4. However, >>> the compiler could dynamicall

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

2012-04-27 Thread mark florisson
On 22 March 2012 20:07, Stefan Behnel wrote: > mark florisson, 22.03.2012 19:50: >> For the fused type runtime dispatch I found it very convenient to use >> the with statement, but that is not supported in Python 2.4. However, >> the compiler could dynamically compile compiler code with the compil

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

2012-03-22 Thread Stefan Behnel
mark florisson, 22.03.2012 19:50: > For the fused type runtime dispatch I found it very convenient to use > the with statement, but that is not supported in Python 2.4. However, > the compiler could dynamically compile compiler code with the compiler > itself and import it (pyximport), if it is not

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

2012-03-22 Thread Stefan Behnel
Dag Sverre Seljebotn, 22.03.2012 20:12: > On 03/22/2012 11:50 AM, mark florisson wrote: >> For the fused type runtime dispatch I found it very convenient to use >> the with statement, but that is not supported in Python 2.4. However, >> the compiler could dynamically compile compiler code with the

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

2012-03-22 Thread Dag Sverre Seljebotn
On 03/22/2012 11:50 AM, mark florisson wrote: Hey, For the fused type runtime dispatch I found it very convenient to use the with statement, but that is not supported in Python 2.4. However, the compiler could dynamically compile compiler code with the compiler itself and import it (pyximport),

[Cython] dynamically compile and import pure python modules

2012-03-22 Thread mark florisson
Hey, For the fused type runtime dispatch I found it very convenient to use the with statement, but that is not supported in Python 2.4. However, the compiler could dynamically compile compiler code with the compiler itself and import it (pyximport), if it is not needed to compile Cython itself. I