[Cython] python callback
Robert Bradshaw
robertwb at math.washington.edu
Tue Apr 8 10:38:02 CEST 2008
Thanks. I just added it.
On Apr 7, 2008, at 2:10 PM, Gabriel Gellner wrote:
> On Mon, Apr 07, 2008 at 07:35:27PM +0200, Stefan Behnel wrote:
>>
>> Gabriel Gellner wrote:
>>> Looking through the scipy odeint C wrapper, I realized the simple
>>> pattern to
>>> solve this (just having the callback call a global python
>>> function, that is
>>> set by the driver.)
>>>
>>> Does anyone think this is worth making a Wiki page for? If so I
>>> would be happy
>>> to write up the solution.
>>
>> There already is a (tiny) FAQ entry on callbacks, but it would be
>> good to have
>> a real page on this topic (even if your solution here is less
>> common than
>> passing a void*).
>>
>> http://wiki.cython.org/
>> FAQ#head-0ea9184c404ed73456c5988eaf208d91bf04accb
>>
>> Stefan
>>
> One thing about this FAQ entry, the Cython releases doesn't seem to
> include
> the callback folder in Demos. I had to go into the Mercural repo
> to get it.
>
> Gabriel
>> _______________________________________________
>> Cython-dev mailing list
>> Cython-dev at codespeak.net
>> http://codespeak.net/mailman/listinfo/cython-dev
> _______________________________________________
> Cython-dev mailing list
> Cython-dev at codespeak.net
> http://codespeak.net/mailman/listinfo/cython-dev
More information about the Cython-dev
mailing list