I'm wondering if there's a speedy, Pythonic way to calculate factorials of non-integral numbers (e.g., 3.4)? Of course, the bult-in factorial() function in the Math module is available, but it only works for integrals (I don't care about negative numbers here).
In Python 2.7 or 3.2, you can use math.gamma(x + 1).  In older versions, you'd need some external library like SciPy.
Python: Calculate factorial of a non-integral number