summaryrefslogtreecommitdiff
path: root/tools/py3tool.py
diff options
context:
space:
mode:
authorPauli Virtanen <pav@iki.fi>2010-02-20 18:20:10 +0000
committerPauli Virtanen <pav@iki.fi>2010-02-20 18:20:10 +0000
commit11b80e7bd14501f33e6e0d9704afca8b10dce695 (patch)
tree9df9d7e9a44c7e6711feed9101363f380643a820 /tools/py3tool.py
parent9f9098f6f77f82eddb2471991d08ec0a37ead6f9 (diff)
downloadnumpy-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 'tools/py3tool.py')
-rwxr-xr-xtools/py3tool.py9
1 files changed, 9 insertions, 0 deletions
diff --git a/tools/py3tool.py b/tools/py3tool.py
index 46bf924bf..258484fc9 100755
--- a/tools/py3tool.py
+++ b/tools/py3tool.py
@@ -39,6 +39,15 @@ EXTRA_2TO3_FLAGS = {
'numpy/core/defchararray.py': '-x unicode',
'numpy/compat/py3k.py': '-x unicode',
'numpy/ma/timer_comparison.py': 'skip',
+ 'numpy/distutils/system_info.py': '-x reduce',
+ 'numpy/f2py/auxfuncs.py': '-x reduce',
+ 'numpy/lib/arrayterator.py': '-x reduce',
+ 'numpy/lib/tests/test_arrayterator.py': '-x reduce',
+ 'numpy/ma/core.py': '-x reduce',
+ 'numpy/ma/tests/test_core.py': '-x reduce',
+ 'numpy/ma/tests/test_old_ma.py': '-x reduce',
+ 'numpy/ma/timer_comparison.py': '-x reduce',
+ 'numpy/oldnumeric/ma.py': '-x reduce',
}
def main():