Permalink
Switch branches/tags
Commits on Jul 7, 2017
  1. Merge pull request #9380 from charris/forwardport-1.13.1-notes

    DOC: Forward port 1.13.1 notes and changelog.
    committed on GitHub Jul 7, 2017
  2. Merge pull request #9381 from bobeldering/f2py-test-block-docstring

    TST: test doc string of COMMON block arrays for numpy.f2py.
    committed on GitHub Jul 7, 2017
  3. DOC: Forward port 1.13.1 notes and changelog.

    [ci skip]
    committed Jul 7, 2017
Commits on Jul 6, 2017
  1. Merge pull request #9375 from jaimefrio/unique_symbol_doc

    DOC: Document the internal workings of PY_ARRAY_UNIQUE_SYMBOL
    committed on GitHub Jul 6, 2017
  2. Merge pull request #9362 from charris/rearrange-testing-module

    ENH: Rearrange testing module to isolate nose dependency.
    committed on GitHub Jul 6, 2017
  3. Merge pull request #9364 from bobeldering/f2py-closing-brace-in-forma…

    …t_def-docstring
    
    BUG: ')' is printed at the end pointer of the buffer in numpy.f2py.
    committed on GitHub Jul 6, 2017
  4. BUG: Fix error in fromstring function from numpy.core.records (#9369)

    BUG: fix error in fromstring function from numpy.core.records
    
    the shape was computer using true division and
    ndarray expects a tuple of integers as shape parameter
    danielhrisca committed with Jul 6, 2017
Commits on Jul 5, 2017
  1. Merge pull request #9354 from eric-wieser/fix-type-resolver-hang

    BUG: Prevent hang traversing ufunc userloop linked list
    committed on GitHub Jul 5, 2017
  2. Merge pull request #9357 from eric-wieser/nan_to_num-docs

    DOC: Add examples for complex dtypes
    committed on GitHub Jul 5, 2017
  3. TST: Add test of new `parametrize` decorator.

    The new decorator was added to numpy.testing in order to facilitate the
    transition to using pytest.
    committed Jul 5, 2017
  4. ENH: Add parametrize decorator for nose.

    One of the steps in achieving pytest compatibility is to get rid of
    yield based nose tests. Having some basic version of parametrize offers
    a way to do that.
    
    Note that the version here is very restricted and does not have all the
    capabilities of the pytest version. Such are the drawbacks of backward
    compatibility.
    committed Jul 5, 2017
  5. BUG: ')' is printed at the end pointer of the buffer in numpy.f2py.

    When building the __doc__ string for Fortran objects, the ')'
    character, closing the dimensions list, is written 1 position
    beyond the allowed buffer size, instead of the current pointer in
    the buffer.
    bobeldering committed Jul 5, 2017
  6. MAINT: Rearrange files in numpy/testing module.

    The aim here is to separate out the nose dependent files prior to adding
    pytest support. This could be done by adding new files to the general
    numpy/testing directory, but I felt that it was to have the relevant
    files separated out as it makes it easier to completely remove nose
    dependencies when needed.
    
    Many places were accessing submodules in numpy/testing directly, and in
    some cases incorrectly. That presented a backwards compatibility
    problem. The solution adapted here is to have "dummy" files whose
    contents will depend on whether of not pytest is active. That way the
    module looks the same as before from the outside.
    
    In the case of numpy itself, direct accesses have been fixed. Having
    proper `__all__` lists in the submodules helped in that.
    committed Jul 4, 2017
Commits on Jul 3, 2017
  1. DOC: Add examples for complex dtypes

    Also remove redundancy between the function and return value descriptions
    
    [ci skip]
    eric-wieser committed Jul 3, 2017
  2. MAINT: Use a for loop to traverse the linked list

    This avoids bugs like gh-9351 being introduced later
    eric-wieser committed Jul 3, 2017
Commits on Jul 1, 2017
  1. Merge pull request #9343 from eric-wieser/recfunction-join-dtype

    BUG: recfunctions fail in a bunch of ways due to using .descr
    ahaldane committed on GitHub Jul 1, 2017
  2. Merge pull request #9346 from eric-wieser/masked-fillvalue-void

    BUG: void masked fillvalue cannot be cast to void in python 3
    ahaldane committed on GitHub Jul 1, 2017
  3. TST: join_by now works for dtypes with padding too

    Once again, thanks to not using .descr
    eric-wieser committed Jul 1, 2017
  4. Merge pull request #9320 from WarrenWeckesser/heaviside-docstring

    DOC: Use x1 and x2 in the heaviside docstring.
    committed on GitHub Jul 1, 2017
  5. Merge pull request #9341 from eric-wieser/resize-empty

    BUG: np.resize discards empty shapes
    committed on GitHub Jul 1, 2017
  6. MAINT: Stop using .descr in recfunctions

    This change shouldn't affect behaviour - all old uses were still correct.
    eric-wieser committed Jul 1, 2017
  7. BUG: stack_arrays fails for subdtypes

    Again, fixed by not using descr
    eric-wieser committed Jul 1, 2017
  8. BUG: recfunctions.join_by fails when key is a subdtype

    It seems that working with .descr is a generally terrible idea.
    Instead we introduce `get_fieldspec`, which returns a list of 2-tuples,
    encapsulating subdtypes.
    
    This also means that np.core.test_rational.rational survives a roundtrip - its
    .descr is 'V8', which ddoesn't survive
    eric-wieser committed Jul 1, 2017