Lisandro Dalcin wrote:
> Function/method signature embedding finally implemented. Currently,
> this seems to work just fine for mpi4py and petsc4py. I would love
> Stefan give a try in lxml, and Robert in sage. Fernando and Brian CC'd
> (sorry if you get this twice!), as they could provide further comments
> on this, especially regarding the way signatures are formatted. After
> some rounds, perhaps IPython could be made even smarter at the time of
> displaying info on the console.
>   
Excellent. I've commited it now.

I didn't close the ticket though as

def f(unsigned short i): pass

...will get "int" as the description. Furthermore

def f(object[int, ndim=3] i): pass

won't render into a docstring either. In order to remedy this cleanly 
some internal Cython refactorings should probably be made, so I propose 
we just leave it like this for now. My thoughts on that are up on

http://trac.cython.org/cython_trac/ticket/2

(If you want to have a shot at that as well I can outline it in more 
detail, but if you just leave it I might pick it up myself at some point 
too..)

> Finally, some notes about the attached patch.
>
> * All this needs to be properly documented (I hardly find spare time
> for documenting my own projects!)
> * A testcase was added, perhaps it needs to be extended.
>   
I added some stuff to the testcase, have a look.

Dag Sverre
_______________________________________________
Cython-dev mailing list
[email protected]
http://codespeak.net/mailman/listinfo/cython-dev

Reply via email to