Python 2 numerical facilities