summaryrefslogtreecommitdiff
path: root/numpy/lib/_iotools.py
diff options
context:
space:
mode:
authorCharles Harris <charlesr.harris@gmail.com>2013-04-13 09:36:36 -0600
committerCharles Harris <charlesr.harris@gmail.com>2013-04-13 10:16:40 -0600
commitffdad17d0db1d55d39911d637c650ea0acada78b (patch)
tree1bae8a9e699c698f723bbd8d8e989361000f2a13 /numpy/lib/_iotools.py
parent688bc60658b391524c6b641e0a5e5ecd73322d02 (diff)
downloadnumpy-ffdad17d0db1d55d39911d637c650ea0acada78b.tar.gz
2to3: Apply renames fixer.
Rename sys.maxint to sys.maxsize when the Python version is >= 3. This change was made in Python 3 because all integers are 'long' integers and their maximum value bears no relationship to the C type that int used to represent. The new sys.maxsize value is the maximum value of Py_ssize_t. This change has not led to any reported problems since the numpy 1.5 release. Closes #3082
Diffstat (limited to 'numpy/lib/_iotools.py')
0 files changed, 0 insertions, 0 deletions