diff options
author | Charles Harris <charlesr.harris@gmail.com> | 2013-04-12 09:00:24 -0600 |
---|---|---|
committer | Charles Harris <charlesr.harris@gmail.com> | 2013-04-12 09:00:24 -0600 |
commit | d5bf8ac099b0204365d1df73f21ed905c5adbcb3 (patch) | |
tree | 5bb738ae110a88253d863e22ebd4cb1d57e79c58 /tools/py3tool.py | |
parent | 6ffa2ea9744e01129382b902649edfd50e848401 (diff) | |
download | numpy-d5bf8ac099b0204365d1df73f21ed905c5adbcb3.tar.gz |
2to3: Skip `setliteral` fixer.
Setliterals are not available in Python 2.6. Because the current usage
in numpy is forward compatible with Python 3 there is no need to run the
fixer.
When Python 2.6 support is dropped the fixer can be run, but that looks
to be several years off. RHEL 6 with Python 2.6 was released in 2010 and
will run for ten years.
Diffstat (limited to 'tools/py3tool.py')
-rwxr-xr-x | tools/py3tool.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/py3tool.py b/tools/py3tool.py index 0dbc47112..9d67bf2c5 100755 --- a/tools/py3tool.py +++ b/tools/py3tool.py @@ -83,7 +83,7 @@ FIXES_TO_SKIP = [ 'reduce', # 'renames', 'repr', -# 'setliteral', + 'setliteral', 'standarderror', 'sys_exc', 'throw', |