[Numpy-svn] [numpy/numpy] ffdad1: 2to3: Apply renames fixer.

GitHub noreply at github.com
Sun Apr 14 10:29:26 EDT 2013


  Branch: refs/heads/master
  Home:   https://github.com/numpy/numpy
  Commit: ffdad17d0db1d55d39911d637c650ea0acada78b
      https://github.com/numpy/numpy/commit/ffdad17d0db1d55d39911d637c650ea0acada78b
  Author: Charles Harris <charlesr.harris at gmail.com>
  Date:   2013-04-13 (Sat, 13 Apr 2013)

  Changed paths:
    M numpy/core/arrayprint.py
    M numpy/oldnumeric/ma.py
    M tools/py3tool.py

  Log Message:
  -----------
  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


  Commit: ff464ef985cb4d3bca82cc0e7867e02ca47482dc
      https://github.com/numpy/numpy/commit/ff464ef985cb4d3bca82cc0e7867e02ca47482dc
  Author: Charles Harris <charlesr.harris at gmail.com>
  Date:   2013-04-14 (Sun, 14 Apr 2013)

  Changed paths:
    M numpy/core/arrayprint.py
    M numpy/oldnumeric/ma.py
    M tools/py3tool.py

  Log Message:
  -----------
  Merge pull request #3238 from charris/2to3-apply-renames-fixer

2to3: Apply renames fixer.


Compare: https://github.com/numpy/numpy/compare/f62bc39d25eb...ff464ef985cb


More information about the Numpy-svn mailing list