James Reynolds, 26.05.2011 17:22: > As an intellectual exercise, I wanted to try my hand at writing some > extensions in C. This is fine for en exercise, and I hope you had fun doing this. However, for real code, I suggest you use Cython instead. Your module would have been substantially simpler and likely also faster. http://cython.org Stefan