Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit d5bf8ac

Browse files
committed
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.
1 parent 6ffa2ea commit d5bf8ac

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tools/py3tool.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@
8383
'reduce',
8484
# 'renames',
8585
'repr',
86-
# 'setliteral',
86+
'setliteral',
8787
'standarderror',
8888
'sys_exc',
8989
'throw',

0 commit comments

Comments
 (0)