Skip to content
Commits on Feb 9, 2016
  1. @njsmith

    Merge pull request #7133 from yarikoptic/bf-savez

    njsmith committed
    savez: temporary file alongside with target file and improve exception message upon IOError
Commits on Feb 8, 2016
  1. @seberg

    Merge pull request #7211 from omegahm/doc-fix-fmin-examples

    seberg committed
    DOC: Fix fmin examples
  2. @omegahm

    DOC: Fix fmin examples

    omegahm committed
    This fixes #6904 (which has been closed already for some reason)
  3. @rgommers

    Merge pull request #7209 from jakirkham/use_virtualenv_14_0_6

    rgommers committed
    TST: Bump `virtualenv` to 14.0.6
  4. @jakirkham
  5. @charris

    Merge pull request #4619 from tacaswell/ndarray_subclass_sum_bug

    charris committed
    BUG : np.sum silently drops keepdims for sub-classes of ndarray
Commits on Feb 7, 2016
  1. @tacaswell

    DOC: add release notes

    tacaswell committed
  2. @tacaswell

    MNT: reduce number of return statements

    tacaswell committed
    In sum, amax, amin, and prod simplify the logic to remove an identical
    return statement / call to `_methods._xxx`.  This removes several
    elif/else pairs and reduces the number of exit points from the functions
    but makes the code path a bit more complicated to trace.
  3. @tacaswell

    MNT: move std, var, mean calls out of try block

    tacaswell committed
    Move the calls to user-provided versions of std, var, and mean on non
    mu.ndarray objects out of the `try` block so that numpy will not mask
    AttributeError raised during the execution of the function rather than
    due to the object not having the required method.
  4. @tacaswell

    STY: pep8 only

    tacaswell committed
  5. @tacaswell

    BUG: many functions silently drop `keepdims` kwarg

    tacaswell committed with tacaswell
    change test from `type(a) is not mu.ndarray` to
    `not isinstance(a, mu.ndarray)`
    
    Because every sub-class of ndarray is not guaranteed to implement
    `keepdims` as a kwarg, when wrapping these methods care must be taken.
    
    The previous behavior was to silently eat the kwarg when dealing with
    a sub-class of ndarray.
    
    Now, if `keepdims=np._NoValue` (the new default) it is not passed
    through to the underlying function call (so the default value of
    `keepdims` is now controlled by the sub-class).  If `keepdims` is not
    `np._NoValue` then it is passed through and will raise an exception if
    the sub-class does not support the kwarg.
    
    A special case in nanvar was required to deal with `matrix` that previously
    relied on `fromnumeric` silently dropping `keepdims`.
  6. @charris

    Merge pull request #7181 from madphysicist/doc-typos

    charris committed
    DOC: Updated minor typos in function_base.py and test_function_base.py
  7. @charris

    Merge pull request #7201 from juliantaylor/ioerror

    charris committed
    Raise IOError on not a file in python2
Commits on Feb 6, 2016
  1. @juliantaylor

    BUG: raise IOError on not a file in python2

    juliantaylor committed
    The change in 5225e4c did not account for PyFile_AsFile does not
    raise an error on invalid input, add the handling to equalize our
    wr5225e4c2007 apper function.
    closes gh-7200
Commits on Feb 5, 2016
  1. @charris

    Merge pull request #7196 from numpy/revert-7191-stack_documentation

    charris committed
    Revert "DOC: add vstack, hstack, dstack reference to stack documentation."
  2. @charris

    Merge pull request #7180 from madphysicist/nanpercentile-dims

    charris committed
    BUG: Fixed previous attempt to fix dimension mismatch in nanpercentile
  3. @charris

    Merge pull request #7197 from jakirkham/pin_virtualenv

    charris committed
    TST: Pin virtualenv used on Travis CI.
  4. @madphysicist
  5. @jakirkham
  6. @madphysicist

    BUG: Fixed previous attempt to fix dimension mismatch in nanpercentile

    madphysicist committed
    nanpercentile was conforming to dimension convention of percentile incorrectly.
    percentile outputs results for the different percentiles along the first
    dimension of the output. nanpercentile was moving the reduction axis to the
    front using swapaxes, which would move the first axis out of place if there
    were more than two in the array. Added a test with more than two axes to
    demonstrate and used rollaxis instead of swapaxes to do the interhange.
  7. @shoyer
  8. @charris

    Merge pull request #7191 from aukejw/stack_documentation

    charris committed
    DOC: add vstack, hstack, dstack reference to stack documentation.
  9. @charris

    Merge pull request #7193 from madphysicist/extra-assert

    charris committed
    MAINT: Removed supurious assert in histogram estimators
  10. @charris

    Merge pull request #7195 from jakirkham/style_np_ma_fix

    charris committed
    STY: Drop some trailing spaces in `numpy.ma.core`.
  11. @jakirkham
  12. @madphysicist
  13. @aukejw
  14. @aukejw
Commits on Feb 2, 2016
  1. @charris

    Merge pull request #7174 from gfyoung/pandas_link_fix

    charris committed
    DOC: Fix broken pandas link in release notes
  2. @gfyoung
  3. @charris

    Merge pull request #7171 from gfyoung/conda_f2py_patch

    charris committed
    TST: Fixed f2py test for Anaconda non-win32
  4. @gfyoung

    TST: Fixed f2py test for Anaconda non-win32

    gfyoung committed
    When you run 'python -V' under Anaconda, it
    returns for example, 'Python 3.4.3 :: Continuum
    Analytics, Inc.' However, the original parsing
    of the version in 'test_f2py' assumed there was
    nothing following the version number, causing a
    ValueError because you can't assign three
    variables to four components that you get from
    splitting on the '.'
  5. @jaimefrio

    Merge pull request #7167 from 153957/patch-1

    jaimefrio committed
    DOC: Update Wikipedia references for mtrand.pyx
  6. @153957

    Update Wikipedia references for mtrand.pyx

    153957 committed
    Specifically the 'Logarithmic distribution' link is fixed.
    For others the links or article names are updated.
Commits on Feb 1, 2016
  1. @charris

    Merge pull request #6298 from nbeaver/check-lower-base-limit

    charris committed
    Check lower base limit in base_repr.
Something went wrong with that request. Please try again.