On Wed, Aug 20, 2008 at 10:11 AM, Dag Sverre Seljebotn <[EMAIL PROTECTED]> wrote: > 1) Test system for compiler invocation and usage on file trees. This is > not tested today. I.e. test all the behaviour with "whether a pyx file > is found in directories with __init__.py" and so on. One should have a > script to dynamically create test directories of various structures and > then invoke the compiler in various ways (single/multiple) on it.
+1 > 2) Slightly related: Unit test for invoking the compiler from the > command-line, and then rewrite CmdLine.py to use optparse (with > backwards-compatible behaviour in all situations), and reverse the > relationship between Main.py and CmdLine.py +0 > 3) Implement a new compiler directive in order to raise exceptions > rather than segfault when attributes are accessed on typed variables set > to None. (More hand-holding needed but potentially more exciting and > useful, and holding hands may still be less work than doing it ourself + > recruitment.) Definitely +1. I would say that this issue is the only one that really annoys me in Cython. I know, I can (and I do) use 'Type arg is not None' in argument lists, but I never liked it. Furthermore, in other situations, you get segfaulting code if None is not explicitely checked. -- 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/Fax: +54-(0)342-451.1594 _______________________________________________ Cython-dev mailing list [email protected] http://codespeak.net/mailman/listinfo/cython-dev
