diff options
author | Pauli Virtanen <pav@iki.fi> | 2010-02-20 18:20:10 +0000 |
---|---|---|
committer | Pauli Virtanen <pav@iki.fi> | 2010-02-20 18:20:10 +0000 |
commit | 11b80e7bd14501f33e6e0d9704afca8b10dce695 (patch) | |
tree | 9df9d7e9a44c7e6711feed9101363f380643a820 /numpy/distutils | |
parent | 9f9098f6f77f82eddb2471991d08ec0a37ead6f9 (diff) | |
download | numpy-11b80e7bd14501f33e6e0d9704afca8b10dce695.tar.gz |
3K: BUG: work around bugs in Python 3.1.1 2to3 by not using fixes_reduce
Instead, manually import reduce where necessary.
Diffstat (limited to 'numpy/distutils')
-rw-r--r-- | numpy/distutils/system_info.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/numpy/distutils/system_info.py b/numpy/distutils/system_info.py index ab375246f..15c18c6a1 100644 --- a/numpy/distutils/system_info.py +++ b/numpy/distutils/system_info.py @@ -132,6 +132,9 @@ from numpy.distutils.misc_util import is_sequence, is_string from numpy.distutils.command.config import config as cmd_config from numpy.distutils.compat import get_exception +if sys.version_info[0] >= 3: + from functools import reduce + # Determine number of bits import platform _bits = {'32bit':32,'64bit':64} |