summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorCharles Harris <charlesr.harris@gmail.com>2013-04-11 12:43:34 -0600
committerCharles Harris <charlesr.harris@gmail.com>2013-04-11 12:43:34 -0600
commit0cbe590b9bd4a1b8e862334406ef271f4bb6adaf (patch)
treef73137deaec2ba96771ee7a7e632eeddc3695bc4 /tools
parent79126f1c6084c56348b71e1b91fb4b6bc9de86b2 (diff)
downloadnumpy-0cbe590b9bd4a1b8e862334406ef271f4bb6adaf.tar.gz
2to3: Skip buffer fixer.
The buffer object is replaced by memoryview in Python >= 3. The memory view object has also been backported to Python 2.7. However, the only use of `buffer1/1memoryview1 is in `numpy/core/tests/test_unicode.py` and there it is already version dependent: `memoryview` is used if the Python version is >= 3 and `buffer` is used otherwise. Closes #3043.
Diffstat (limited to 'tools')
-rwxr-xr-xtools/py3tool.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/py3tool.py b/tools/py3tool.py
index dd39e4f91..ce0d1975c 100755
--- a/tools/py3tool.py
+++ b/tools/py3tool.py
@@ -47,7 +47,7 @@ EXTRA_2TO3_FLAGS = {
FIXES_TO_SKIP = [
'apply',
# 'basestring',
-# 'buffer',
+ 'buffer',
'callable',
'dict',
'exec',