1
Python / Re: Question on inheritance
« on: September 22, 2014, 03:45:25 am »
Best I can tell cython calls __cinit__ of the parent class first before __init__ of the inheriting class.
http://stackoverflow.com/questions/18260095/cant-override-init-of-class-from-cython-extension
In the latest from github __init__ is used instead of __cinit__ so I imagine inheritance should work there. I can't find exactly when it changed though.
https://github.com/Sonkun/python-sfml
http://stackoverflow.com/questions/18260095/cant-override-init-of-class-from-cython-extension
In the latest from github __init__ is used instead of __cinit__ so I imagine inheritance should work there. I can't find exactly when it changed though.
https://github.com/Sonkun/python-sfml