[SciPy-Dev] scipy.factorial in python 3.2

josef.pktd at gmail.com josef.pktd at gmail.com
Sun Apr 10 13:22:33 EDT 2011


python 3.2 (64 bit version) doesn't have scipy.factorial anymore, with
python 2.7 it's there.

Is this intentional?
It's easy to work around, I just import it from scipy.misc

Python 3.2 (r32:88445, Feb 20 2011, 21:30:00) [MSC v.1500 64 bit
(AMD64)] on win32
Type "copyright", "credits" or "license()" for more information.
==== No Subprocess ====
>>> import scipy
>>> scipy.factorial
Traceback (most recent call last):
  File "<pyshell#1>", line 1, in <module>
    scipy.factorial
AttributeError: 'module' object has no attribute 'factorial'

>>> import scipy.misc
>>> scipy.misc.factorial
<function factorial at 0x0000000005475CC8>


Josef



More information about the SciPy-Dev mailing list