[prev in list] [next in list] [prev in thread] [next in thread] 

List:       pypy-dev
Subject:    Re: [pypy-dev] Cython and cpyext performance
From:       Stefan Behnel <stefan_ml () behnel ! de>
Date:       2012-02-25 9:14:08
Message-ID: jia8p0$6e3$1 () dough ! gmane ! org
[Download RAW message or body]

Stefan Behnel, 24.02.2012 11:32:
> Amaury Forgeot d'Arc, 24.02.2012 10:27:
>> I was about to write the list of operations that cpyext performs for
>> PyTuple_GET_ITEM, but this macro is too large to fit in the margin :-)
> 
> Interesting. Is there a better way of doing this? CPython doesn't seem to
> provide a way to ask for owned references, even though Cython will quite
> often (but not always) call Py_INCREF() on the result anyway. Would the
> tuple parsing functions help, for example? There may well be cases where we
> could use those. Wouldn't be the first time I rewrite the function argument
> handling code, for example. ;-)

What do you think of this proposal?

http://bugs.python.org/issue14121

Stefan

_______________________________________________
pypy-dev mailing list
pypy-dev@python.org
http://mail.python.org/mailman/listinfo/pypy-dev
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic