[Numpy-svn] [numpy/numpy] ce0a79: BUG: core: don't pollute public namespace with PyI...

GitHub noreply@github....
Sat Jul 14 10:51:50 CDT 2012


  Branch: refs/heads/master
  Home:   https://github.com/numpy/numpy
  Commit: ce0a7912e2e909cae4c4d2fc6d9745a97d2161c2
      https://github.com/numpy/numpy/commit/ce0a7912e2e909cae4c4d2fc6d9745a97d2161c2
  Author: Pauli Virtanen <pav@iki.fi>
  Date:   2012-07-13 (Fri, 13 Jul 2012)

  Changed paths:
    M numpy/core/include/numpy/npy_3kcompat.h
    M numpy/core/include/numpy/npy_common.h

  Log Message:
  -----------
  BUG: core: don't pollute public namespace with PyIndex_Check on Python 2.4

Public numpy headers shouldn't define a replacement PyIndex_Check.  This
causes unexpected behavior in Python2.4 in 3rd party code.


  Commit: 423ddfb0484eecdf825209337b20ec929f038b6f
      https://github.com/numpy/numpy/commit/423ddfb0484eecdf825209337b20ec929f038b6f
  Author: Pauli Virtanen <pav@iki.fi>
  Date:   2012-07-13 (Fri, 13 Jul 2012)

  Changed paths:
    M numpy/core/include/numpy/npy_3kcompat.h
    M numpy/core/src/dummymodule.c
    M numpy/core/src/multiarray/array_assign.c
    M numpy/core/src/multiarray/array_assign_array.c
    M numpy/core/src/multiarray/array_assign_scalar.c
    M numpy/core/src/multiarray/arrayobject.c
    M numpy/core/src/multiarray/arraytypes.c.src
    M numpy/core/src/multiarray/buffer.c
    M numpy/core/src/multiarray/calculation.c
    M numpy/core/src/multiarray/common.c
    M numpy/core/src/multiarray/conversion_utils.c
    M numpy/core/src/multiarray/convert.c
    M numpy/core/src/multiarray/convert_datatype.c
    M numpy/core/src/multiarray/ctors.c
    M numpy/core/src/multiarray/datetime.c
    M numpy/core/src/multiarray/datetime_busday.c
    M numpy/core/src/multiarray/datetime_busdaycal.c
    M numpy/core/src/multiarray/datetime_strings.c
    M numpy/core/src/multiarray/descriptor.c
    M numpy/core/src/multiarray/dtype_transfer.c
    M numpy/core/src/multiarray/einsum.c.src
    M numpy/core/src/multiarray/flagsobject.c
    M numpy/core/src/multiarray/getset.c
    M numpy/core/src/multiarray/hashdescr.c
    M numpy/core/src/multiarray/item_selection.c
    M numpy/core/src/multiarray/iterators.c
    M numpy/core/src/multiarray/mapping.c
    M numpy/core/src/multiarray/methods.c
    M numpy/core/src/multiarray/multiarray_tests.c.src
    M numpy/core/src/multiarray/multiarraymodule.c
    M numpy/core/src/multiarray/nditer_impl.h
    M numpy/core/src/multiarray/nditer_pywrap.c
    M numpy/core/src/multiarray/number.c
    M numpy/core/src/multiarray/numpymemoryview.c
    M numpy/core/src/multiarray/numpyos.c
    M numpy/core/src/multiarray/refcount.c
    M numpy/core/src/multiarray/scalarapi.c
    M numpy/core/src/multiarray/scalartypes.c.src
    M numpy/core/src/multiarray/sequence.c
    M numpy/core/src/multiarray/shape.c
    M numpy/core/src/multiarray/ucsnarrow.c
    M numpy/core/src/multiarray/usertypes.c
    A numpy/core/src/private/npy_pycompat.h
    M numpy/core/src/scalarmathmodule.c.src
    M numpy/core/src/umath/funcs.inc.src
    M numpy/core/src/umath/loops.c.src
    M numpy/core/src/umath/ufunc_object.c
    M numpy/core/src/umath/ufunc_type_resolution.c
    M numpy/core/src/umath/umath_tests.c.src
    M numpy/lib/src/_compiled_base.c

  Log Message:
  -----------
  STY: core: move non-Py3 specific stuff out from npy_3kcompat.h to private npy_pycompat.h

npy_3kcompat.h is semi-private, so this can be done.


  Commit: 9e5efde7ca6db3d790fa7ca39d544d019ab061e9
      https://github.com/numpy/numpy/commit/9e5efde7ca6db3d790fa7ca39d544d019ab061e9
  Author: Charles Harris <charlesr.harris@gmail.com>
  Date:   2012-07-14 (Sat, 14 Jul 2012)

  Changed paths:
    M numpy/core/src/multiarray/nditer_pywrap.c

  Log Message:
  -----------
  STY: Remove duplicate #include.


  Commit: 6a1ab0382a8a7e7415277231fedc0ee1ef60326c
      https://github.com/numpy/numpy/commit/6a1ab0382a8a7e7415277231fedc0ee1ef60326c
  Author: Charles Harris <charlesr.harris@gmail.com>
  Date:   2012-07-14 (Sat, 14 Jul 2012)

  Changed paths:
    M numpy/core/include/numpy/npy_3kcompat.h
    M numpy/core/include/numpy/npy_common.h
    M numpy/core/src/dummymodule.c
    M numpy/core/src/multiarray/array_assign.c
    M numpy/core/src/multiarray/array_assign_array.c
    M numpy/core/src/multiarray/array_assign_scalar.c
    M numpy/core/src/multiarray/arrayobject.c
    M numpy/core/src/multiarray/arraytypes.c.src
    M numpy/core/src/multiarray/buffer.c
    M numpy/core/src/multiarray/calculation.c
    M numpy/core/src/multiarray/common.c
    M numpy/core/src/multiarray/conversion_utils.c
    M numpy/core/src/multiarray/convert.c
    M numpy/core/src/multiarray/convert_datatype.c
    M numpy/core/src/multiarray/ctors.c
    M numpy/core/src/multiarray/datetime.c
    M numpy/core/src/multiarray/datetime_busday.c
    M numpy/core/src/multiarray/datetime_busdaycal.c
    M numpy/core/src/multiarray/datetime_strings.c
    M numpy/core/src/multiarray/descriptor.c
    M numpy/core/src/multiarray/dtype_transfer.c
    M numpy/core/src/multiarray/einsum.c.src
    M numpy/core/src/multiarray/flagsobject.c
    M numpy/core/src/multiarray/getset.c
    M numpy/core/src/multiarray/hashdescr.c
    M numpy/core/src/multiarray/item_selection.c
    M numpy/core/src/multiarray/iterators.c
    M numpy/core/src/multiarray/mapping.c
    M numpy/core/src/multiarray/methods.c
    M numpy/core/src/multiarray/multiarray_tests.c.src
    M numpy/core/src/multiarray/multiarraymodule.c
    M numpy/core/src/multiarray/nditer_impl.h
    M numpy/core/src/multiarray/nditer_pywrap.c
    M numpy/core/src/multiarray/number.c
    M numpy/core/src/multiarray/numpymemoryview.c
    M numpy/core/src/multiarray/numpyos.c
    M numpy/core/src/multiarray/refcount.c
    M numpy/core/src/multiarray/scalarapi.c
    M numpy/core/src/multiarray/scalartypes.c.src
    M numpy/core/src/multiarray/sequence.c
    M numpy/core/src/multiarray/shape.c
    M numpy/core/src/multiarray/ucsnarrow.c
    M numpy/core/src/multiarray/usertypes.c
    A numpy/core/src/private/npy_pycompat.h
    M numpy/core/src/scalarmathmodule.c.src
    M numpy/core/src/umath/funcs.inc.src
    M numpy/core/src/umath/loops.c.src
    M numpy/core/src/umath/ufunc_object.c
    M numpy/core/src/umath/ufunc_type_resolution.c
    M numpy/core/src/umath/umath_tests.c.src
    M numpy/lib/src/_compiled_base.c

  Log Message:
  -----------
  Merge pull request #355 from charris/updated-pull-307

Put PyIndex_Check in a private include file.


Compare: https://github.com/numpy/numpy/compare/afcc4cd5c645...6a1ab0382a8a


More information about the Numpy-svn mailing list