Hi,

Greg Ewing wrote:
> Dag Sverre Seljebotn wrote:
>> I'd definitely not have a DictLoopNode; instead 
>> one should use a regular WhileStatNode containing a SimpleCallNode 
>> calling PyDict_Next.
> 
> Except that you can't express a call to PyDict_Next using
> a standard SimpleCallNode because of its weird signature.

Yep, I noticed that. My work-around was not to officially declare it at
all, but to design a hand-built function type that is only used in the
transform. Seems to work for me so far.

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

Reply via email to