[Numpy-svn] [numpy/numpy] c76027: BUG: MSVCCompiler grows 'lib' & 'include' env stri...

GitHub noreply at github.com
Thu Aug 25 11:44:25 EDT 2016


  Branch: refs/heads/master
  Home:   https://github.com/numpy/numpy
  Commit: c7602711ac86d862a44470e534d96487e5d52536
      https://github.com/numpy/numpy/commit/c7602711ac86d862a44470e534d96487e5d52536
  Author: Charles Harris <charlesr.harris at gmail.com>
  Date:   2016-08-24 (Wed, 24 Aug 2016)

  Changed paths:
    M numpy/distutils/msvc9compiler.py
    M numpy/distutils/msvccompiler.py

  Log Message:
  -----------
  BUG: MSVCCompiler grows 'lib' & 'include' env strings exponentially.

Each time an MSVCCompiler was instantiated the old values of
os.environ['lib'] and os.environ['include'] were concatenated to the new
values set by initializing the distutils.msvc{,9}compiler.MSVCCompiler
base class.  Consequently when the  the old and new values of those
variables were the same, they doubled in size with each instantiation,
leading to quickly hitting the 32,768 character limit.


  Commit: 90668d0e740e30102fa3d0a1a72b485ebe9d99c3
      https://github.com/numpy/numpy/commit/90668d0e740e30102fa3d0a1a72b485ebe9d99c3
  Author: Charles Harris <charlesr.harris at gmail.com>
  Date:   2016-08-25 (Thu, 25 Aug 2016)

  Changed paths:
    M numpy/distutils/msvc9compiler.py
    M numpy/distutils/msvccompiler.py

  Log Message:
  -----------
  Merge pull request #7963 from charris/fix-microsoft-compilers

BUG: MSVCCompiler grows 'lib' & 'include' env strings exponentially.


Compare: https://github.com/numpy/numpy/compare/6849fa3bea13...90668d0e740e


More information about the Numpy-svn mailing list