You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Playing around with your module I wanted to create a subclass of the SpiDev class, but found it impossible. After some poking around Python docs I added a Py_TPFLAGS_BASETYPE flag and all seems to be fine and my app works. Not sure is that's all that needs to be done ...
Since it's only a one line change, didn't want to create a full blown pull request so here's the diff :
Playing around with your module I wanted to create a subclass of the SpiDev class, but found it impossible. After some poking around Python docs I added a Py_TPFLAGS_BASETYPE flag and all seems to be fine and my app works. Not sure is that's all that needs to be done ...
Since it's only a one line change, didn't want to create a full blown pull request so here's the diff :
Please let me know if you see merging this into master as a workable idea. Thanks !
Cheers,
Teo
The text was updated successfully, but these errors were encountered: