Re: [Cython] Cpyx for automatic Module creation and inlining of Cython code...

2009-12-14 Thread Lisandro Dalcín
___ Cython-dev mailing list Cython-dev@codespeak.net http://codespeak.net/mailman/listinfo/cython-dev -- Lisandro Dalcín --- Centro Internacional de Métodos Computacionales en Ingeniería (CIMEC) Instituto de Desarrollo Tecnológico para la Industria Química (INTEC) Consejo Nacional de

Re: [Cython] except values: could we relax to non-constant expressions?

2009-12-14 Thread Lisandro Dalcín
could go wrong with accepting external definition for except clauses? I cannot imagine any potential issue, but your resistance to my use case makes my think that you have some concerns about my request... -- Lisandro Dalcín --- Centro Internacional de Métodos Computacionales en

[Cython] remove old cruft

2009-12-17 Thread Lisandro Dalcín
) rm -r Cython/Mac 3) rm -r Cython/Unix 4) adjust setup.py for changes in (2) y (3) -- Lisandro Dalcín --- Centro Internacional de Métodos Computacionales en Ingeniería (CIMEC) Instituto de Desarrollo Tecnológico para la Industria Química (INTEC) Consejo Nacional de Investigaciones

Re: [Cython] running Cython from a zip file

2009-12-17 Thread Lisandro Dalcín
), and silently ignore failed re-creating attempts otherwise. Well, I was tempted to propose exactly that, but I had a bit of fear of having strong opposition :-) ... -- Lisandro Dalcín --- Centro Internacional de Métodos Computacionales en Ingeniería (CIMEC) Instituto de Desarrollo Tecnológico

Re: [Cython] remove old cruft

2009-12-17 Thread Lisandro Dalcín
On Thu, Dec 17, 2009 at 8:35 PM, Robert Bradshaw rober...@math.washington.edu wrote: On Dec 17, 2009, at 7:29 AM, Stefan Behnel wrote: Lisandro Dalcín, 17.12.2009 16:16: Cython contains some code to C-compilelink generated C sources. This likely comes from Pyrex. I would like to remove all

Re: [Cython] [PATCH] Fix usage of elif on undefined values

2009-12-17 Thread Lisandro Dalcín
On Thu, Dec 17, 2009 at 8:38 PM, Robert Bradshaw rober...@math.washington.edu wrote: On Dec 17, 2009, at 2:40 PM, Lisandro Dalcín wrote: On Thu, Dec 17, 2009 at 12:25 PM, Julien Danjou jul...@danjou.info wrote: This kills a compilation warning. Signed-off-by: Julien Danjou jul

Re: [Cython] [PATCH] Fix usage of elif on undefined values

2009-12-17 Thread Lisandro Dalcín
On Thu, Dec 17, 2009 at 9:25 PM, Robert Bradshaw rober...@math.washington.edu wrote: On Dec 17, 2009, at 4:08 PM, Lisandro Dalcín wrote: Good point, please push. Are there any other compilers that we should single out? We heavily use the assumption that inlined functions actually get inlined

Re: [Cython] running Cython from a zip file

2009-12-18 Thread Lisandro Dalcín
: using the PXD's in Cython/Includes... -- Lisandro Dalcín --- Centro Internacional de Métodos Computacionales en Ingeniería (CIMEC) Instituto de Desarrollo Tecnológico para la Industria Química (INTEC) Consejo Nacional de Investigaciones Científicas y Técnicas (CONICET) PTLC - Güemes

Re: [Cython] running Cython from a zip file

2009-12-18 Thread Lisandro Dalcín
On Fri, Dec 18, 2009 at 4:26 PM, Lisandro Dalcín dalc...@gmail.com wrote: On Fri, Dec 18, 2009 at 4:10 AM, Stefan Behnel stefan...@behnel.de wrote: Note that zip files don't support binaries, though. So a Cython version running from a zip file will be substantially slower than one

Re: [Cython] bint to bool conversion

2009-12-18 Thread Lisandro Dalcín
discussed about this in the past. -- Lisandro Dalcín --- Centro Internacional de Métodos Computacionales en Ingeniería (CIMEC) Instituto de Desarrollo Tecnológico para la Industria Química (INTEC) Consejo Nacional de Investigaciones Científicas y Técnicas (CONICET) PTLC - Güemes 3450

[Cython] In Py=2.6, kwargs can be general mappings

2009-12-22 Thread Lisandro Dalcín
} a c b {'a': 7} a so that makes me think that at some point Python is building a tmp dict out of MyDict instance. -- Lisandro Dalcín --- Centro Internacional de Métodos Computacionales en Ingeniería (CIMEC) Instituto de Desarrollo Tecnológico para la Industria Química (INTEC

Re: [Cython] In Py=2.6, kwargs can be general mappings

2009-12-22 Thread Lisandro Dalcín
On Tue, Dec 22, 2009 at 10:58 AM, Stefan Behnel stefan...@behnel.de wrote: Lisandro Dalcín, 22.12.2009 14:47: While testing type inference in mpi4py, I noticed that code like the one below is failing in the last line. It seems that in  Py=2.6, Python makes a coercion on kw and builds

Re: [Cython] --embed on windows? Probably not the FAQ issue

2009-12-29 Thread Lisandro Dalcín
-- Lisandro Dalcín --- Centro Internacional de Métodos Computacionales en Ingeniería (CIMEC) Instituto de Desarrollo Tecnológico para la Industria Química (INTEC) Consejo Nacional de Investigaciones Científicas y Técnicas (CONICET) PTLC - Güemes 3450, (3000) Santa Fe, Argentina Tel

Re: [Cython] Generate shorter string literals

2010-02-05 Thread Lisandro Dalcín
of the whole code, but... Is split_docstring() a proper name for the method, given that IIUC it have to be used for any string literal and no just docstrings... Sorry for being too pedantic ... -- Lisandro Dalcín --- Centro Internacional de Métodos Computacionales en Ingeniería (CIMEC