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