2011/8/4 Stefan Behnel <stefan...@behnel.de>: > Vitja Makarov, 03.08.2011 21:07: >>>> >>>> Stefan, do you know why skip_dispatch argument is used for >>>> module-level cpdef function? >>>> >>>> There is warning about that too. > > It seems you already found a way to handle it. > > >>> And here is my branch for unused_arg: >>> >>> https://github.com/vitek/cython/commits/_unused_args >> >> I've reverted skip_dispatch argument removal, that doesn't work this >> way and is more general issue. >> Now I mark all unused local entries and args with CYTHON_UNUSED. > > Cool. > > >> That actually isn't an optimization just some warnings removal. >> >> I think real optimization should be done when we start with DefNode >> refactoring. > > Absolutely. > > >> If you like that I'm gonna start pull request. > > It looks good to me, so please do. >
Thanks, here it is https://github.com/cython/cython/pull/50 -- vitja. _______________________________________________ cython-devel mailing list cython-devel@python.org http://mail.python.org/mailman/listinfo/cython-devel