Differences between revisions 1 and 3 (spanning 2 versions)
Revision 1 as of 2008-06-13 23:50:20
Size: 70
Editor: robertwb
Comment:
Revision 3 as of 2008-11-14 13:42:15
Size: 658
Editor: localhost
Comment: converted to 1.6 markup
Deletions are marked like this. Additions are marked like this.
Line 5: Line 5:
-  * Except behavior -> always {{{except uncommon_value?}}} by default
 * make flag to do run {{{__main__}}} method
 * hook build into {{{__import__}}} to compile
 * get rid of cimport (look for {{{.pxd}}} file, unless flag)
 * auto-generate {{{.pxd}}} from {{{.pyx}}}
 * pragmas for compile time flags ( like {{{# lang=}}} )
 * magic methods:
    * auto-generate {{{__reduce__}}}

       native types OK
       opaque types via property methods

    * (optional) auto-generate {{{__str__}}} and {{{__cmp__}}}, provide via {{{cython.generate.cmp(self)}}} or something of the stort

http://pexlang.sourceforge.net/

Stuff in Pex not in Cython:

  • Except behavior -> always except uncommon_value? by default

  • make flag to do run __main__ method

  • hook build into __import__ to compile

  • get rid of cimport (look for .pxd file, unless flag)

  • auto-generate .pxd from .pyx

  • pragmas for compile time flags ( like # lang= )

  • magic methods:
    • auto-generate __reduce__

      • native types OK opaque types via property methods
    • (optional) auto-generate __str__ and __cmp__, provide via cython.generate.cmp(self) or something of the stort

dev1/cython/pex (last edited 2008-11-14 13:42:15 by localhost)