Permalink
Commits on Mar 24, 2013
  1. REL: Release 1.7.1rc1

    certik committed with vagrant Mar 24, 2013
  2. DOC: add 1.7.1-notes.rst notes

    certik committed Mar 24, 2013
  3. Merge pull request #3136 from certik/backport3128

    Backport #3128
    certik committed Mar 24, 2013
Commits on Mar 10, 2013
  1. TST: rework tests to work with Python 2.4

    Instead of using the "with" statement, we introduce 'fake_with' function that
    does the same.
    certik committed Mar 10, 2013
  2. TST: skip general test on non-posix platforms

    Add a comment explaining the issue.
    certik committed Mar 10, 2013
  3. TST: Redirect the other stream to temp. file

    Now things behave the same if executed with either of:
    
    nosetests
    nosetests -s
    certik committed Mar 10, 2013
  4. Implement separate checking for stdout and stderr

    And enable a test for this that was failing before.
    certik committed Mar 9, 2013
  5. TST: add robust tests for exec_command()

    First, we test both stdout and stderr.
    
    Second, we now test both _exec_command_posix() and _exec_command(), see
    numpy/distutils/exec_command.py. This reveals a bug in the implementation which
    will be fixed in the next commit. For now the failing test is commented out so
    that all tests still pass.
    certik committed Mar 9, 2013
  6. PEP8: don't use \

    certik committed Mar 7, 2013
  7. FIX: add _supports_fileno() for testing fileno()

    The new _supports_fileno() function works in all versions of Python.
    The problem was that in Python 2.x, the fileno() method of StringIO() is
    missing, while in Python 3.x, it is present, but raises an exception.
    certik committed Mar 7, 2013
  8. BUG: fix issue with distutils.exec_command introduced in 1.7.0.

    Closes gh-2999 and gh-2915.
    
    There are several packages (nose, scipy.weave.inline, Sage inline Fortran) that
    replace stdout, in which case it doesn't have a fileno method.  This method was
    attempted to be used (change in gh-2766 to fix a py3k issue).
    
    Conflicts:
    	numpy/distutils/exec_command.py
    rgommers committed with certik Mar 6, 2013
Commits on Mar 9, 2013
  1. Merge pull request #3134 from charris/backport-3123

    DOC: Fix typo in fft docs (the indexing variable is 'm', not 'n').
    njsmith committed Mar 9, 2013
  2. Merge pull request #3135 from charris/backport-3130

    DOC: Add mention of PyArray_SetBaseObject stealing a reference
    njsmith committed Mar 9, 2013
Commits on Mar 8, 2013
  1. Merge pull request #3131 from charris/backport-365

    BUG: Exported f2py_size symbol prevents linking multiple f2py modules.
    njsmith committed Mar 8, 2013
Commits on Mar 7, 2013
  1. Merge pull request #3124 from njsmith/backport-2976

    BUG: PyArray_LexSort allocates too much temporary memory.
    certik committed Mar 7, 2013
Commits on Mar 6, 2013
  1. MAINT: Regenerate mtrand.c

    seberg committed Mar 6, 2013
  2. BUG: PyArray_LexSort allocates too much temporary memory.

    PyArray_LexSort was allocating memory to hold actual PyArrayObject's
    and PyArrayIterObject's, but only storing pointers to such objects
    in the array.
    bfroehle committed with njsmith Feb 10, 2013
Commits on Mar 4, 2013
  1. BUG: fix random.choice scalar object result and disallow 0-d arrays

    Object arrays failed due to bad check for finding out if the result should
    be a scalar type and not an array when size=None. Also in this case the
    creation of the new array was wrong. This should be fixed with this.
    
    The second fix is to forbid 0-d arrays. Allowing 0-d arrays does not
    make much sense. But it is dangerous because for example floats will
    be interpreted as 1-d arrays, while one may expect that they are interpreted
    as integers. This also saves the trouble of reliably detecting all integers...
    seberg committed Feb 15, 2013
Commits on Mar 2, 2013
  1. Merge pull request #3108 from rgommers/backport-2943-bento-ini-files

    BUG: npy-pkg-config ini files were missing after Bento build.
    njsmith committed Mar 2, 2013
Commits on Mar 1, 2013
  1. Merge pull request #3105 from seberg/backport-nditer-fix-op_axes-init…

    …ialization
    
    Backport nditer fix op axes initialization
    njsmith committed Mar 1, 2013
  2. BUG: initialize op_axes when only itershape is given

    In this case, the initialization used the number of dimensions instead
    of setting it to NULL for each operand, leading to possible segmentation
    faults.
    seberg committed Feb 24, 2013
Commits on Feb 28, 2013
  1. Merge pull request #3039 from seberg/backport-object-take

    Backport object take
    njsmith committed Feb 28, 2013
  2. BUG: non-empty takes on empty axes failed for clip/wrap logic

    These did no checking for this special case. And thus, wrap would go
    into infinite loops trying to adjust the index, and clip would (probably)
    segfault. This raises IndexError explicitely beforehand.
    seberg committed Feb 19, 2013
  3. TST: Add test for np.take refcounting

    Also make the testcase for take a class.
    seberg committed Feb 21, 2013
  4. BUG: Incref items in np.take on error as they are decrefed later

    When take fails during copying due to out of bound indices, then the already
    copied items will be decref'd on array destruction. To avoid that, as well
    as possible overlapping or already initialized object arrays, decref and
    incref during the copy operation itself. Note that all basic types but
    object use their own fasttake, so this does not change anything for them.
    
    Also use new (conflicting) numpy/core/tests/test_item_selection.py with
    small modifications.
    seberg committed Feb 18, 2013
Commits on Feb 26, 2013
  1. Merge pull request #2985 from seberg/backport-large-sort-fixes

    Backport large sort fixes
    njsmith committed Feb 26, 2013
  2. Merge pull request #2982 from charris/backport-fix-nansum

    BUG: Make nansum work with booleans.
    njsmith committed Feb 26, 2013
  3. Merge pull request #2984 from charris/backport-fix-complex-polynomial…

    …-fit
    
    Backport fix complex polynomial fit
    njsmith committed Feb 26, 2013