[Numpy-svn] [numpy/numpy] 5819d2: BUG: Raise immediate error in ctypes.load_library ...

GitHub noreply at github.com
Tue Apr 2 10:14:52 EDT 2013


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

  Changed paths:
    M numpy/ctypeslib.py

  Log Message:
  -----------
  BUG: Raise immediate error in ctypes.load_library when library is bad.

This is a fixup of PR #475 due to JeromeRoy. The problem addressed is
that when multiple errors were encountered attempting to import a
library file, only the last one was preserved. The proposed fix is to
raise an error immediately when a file of the correct name fails to
import, and raise a later error if no file is found but no errors are
raised in the search.

Closes #474, #475.


  Commit: 5b74363e020f90f09dd41916dfc749d56421b3fa
      https://github.com/numpy/numpy/commit/5b74363e020f90f09dd41916dfc749d56421b3fa
  Author: njsmith <njs at pobox.com>
  Date:   2013-04-02 (Tue, 02 Apr 2013)

  Changed paths:
    M numpy/ctypeslib.py

  Log Message:
  -----------
  Merge pull request #3185 from charris/fix-pull-475

BUG: Raise immediate error in ctypes.load_library when library is bad.


Compare: https://github.com/numpy/numpy/compare/134bcb005700...5b74363e020f


More information about the Numpy-svn mailing list