Python math C Extensions