[Numpy-svn] [numpy/numpy] 5cdb06: Fix a false positive OverflowError in Python 3.x w...

GitHub noreply at github.com
Mon Apr 25 21:56:18 EDT 2016


  Branch: refs/heads/master
  Home:   https://github.com/numpy/numpy
  Commit: 5cdb06038fdff4a6e4e74d5b70936d3bfbdde3d1
      https://github.com/numpy/numpy/commit/5cdb06038fdff4a6e4e74d5b70936d3bfbdde3d1
  Author: Mathieu Lamarre <mathieu at vlam3d.com>
  Date:   2016-04-22 (Fri, 22 Apr 2016)

  Changed paths:
    M tools/swig/pyfragments.swg

  Log Message:
  -----------
  Fix a false positive OverflowError in Python 3.x when value above 0x7FFFFFF are passed to a function accepting "unsigned int".

This a port of a fix in pyprimtype.swg from which several code snippets where copy pasted into swig/pyfragments.swg.

Please see SWIG changes log (2015-12-23) for more details:

http://www.swig.org/Release/CHANGES.current

2015-12-23: ahnolds  [Python] Fixes for conversion of signed and unsigned integer types ...


  Commit: 1b6831be8dc33308e77f3d3253f5ee777e3bb178
      https://github.com/numpy/numpy/commit/1b6831be8dc33308e77f3d3253f5ee777e3bb178
  Author: Charles Harris <charlesr.harris at gmail.com>
  Date:   2016-04-25 (Mon, 25 Apr 2016)

  Changed paths:
    M tools/swig/pyfragments.swg

  Log Message:
  -----------
  Merge pull request #7568 from mlamarre/fix_swig_py3_overflow

Fix a false positive OverflowError in Python 3.x when value above 0x7…


Compare: https://github.com/numpy/numpy/compare/da6e4c71aa22...1b6831be8dc3


More information about the Numpy-svn mailing list