Examples of python and Cython code equivalents. I'm trying to learn how to write the best possible cython code while limiting the cython incompatible extensions to a minimum. All examples, unless otherwise noted on comments, should work in pure python just by commenting the cython-specific