Robert Bradshaw, 17.08.2011 08:02:
On Sun, Aug 14, 2011 at 8:02 AM, Stefan Behnel wrote:
def print_args(func):
def f(*args, **kwds):
print "args", args, "kwds", kwds
return func(*args, **kwds)
return f
cdef class Num:
@print_args
def is_prime(self, bint print_fac
On Sun, Aug 14, 2011 at 8:02 AM, Stefan Behnel wrote:
> Hi,
>
> I've taken another stab at #593 and changed the way decorators are currently
> evaluated.
>
> http://trac.cython.org/cython_trac/ticket/593
>
> https://github.com/cython/cython/commit/c40ff48f84b5e5841e4e2d2c6dcce3e6494e4c25
>
> We pr
Vitja Makarov, 14.08.2011 18:55:
2011/8/14 Stefan Behnel:
Hi,
I've taken another stab at #593 and changed the way decorators are currently
evaluated.
http://trac.cython.org/cython_trac/ticket/593
https://github.com/cython/cython/commit/c40ff48f84b5e5841e4e2d2c6dcce3e6494e4c25
We previously h
2011/8/14 Stefan Behnel :
> Hi,
>
> I've taken another stab at #593 and changed the way decorators are currently
> evaluated.
>
> http://trac.cython.org/cython_trac/ticket/593
>
> https://github.com/cython/cython/commit/c40ff48f84b5e5841e4e2d2c6dcce3e6494e4c25
>
> We previously had
>
> @deco
>
Hi,
I've taken another stab at #593 and changed the way decorators are
currently evaluated.
http://trac.cython.org/cython_trac/ticket/593
https://github.com/cython/cython/commit/c40ff48f84b5e5841e4e2d2c6dcce3e6494e4c25
We previously had
@deco
def func(): pass
turn into this:
d