darkdragn / lz4tools

LZ4Frame Bindings and tools for Python
90 stars 30 forks source link

Resolved Fatal Python Error #9

Closed mspringfeldt closed 2 years ago

mspringfeldt commented 8 years ago

This should resolve this #8. But I am not sure if it causes any problem.

bixu commented 8 years ago

@mspringfeldt, is this related to http://code.activestate.com/recipes/52309-to-return-none-from-your-python-callable-c-functio/ ?

mspringfeldt commented 8 years ago

@bixu, this is the case - and the macro Py_RETURN_NONE is the right way to do it.

bixu commented 2 years ago

@darkdragn, thanks!