Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

<!-- Please be sure you are following the instructions in the dev guidelines http://www.numpy.org/devdocs/dev/gitwash/development_workflow.html --> #5

Closed
wants to merge 377 commits into from
This pull request is big! We’re only showing the most recent 250 commits.

Commits on Jan 24, 2019

  1. BUG: Fix SystemError when pickling datetime64 array with pickle5 (num…

    …py#12748)
    
    * BUG: Fix SystemError when pickling datetime64 array with pickle5
    
    Fixes numpygh-12745
    
    * Fix reference and error handling
    
    * Add a test for the fixed reference leak
    
    * Fix for PyPy + simplify #if condition
    
    * Fix comment
    pitrou authored and charris committed Jan 24, 2019
    Configuration menu
    Copy the full SHA
    20722df View commit details
    Browse the repository at this point in the history
  2. BUG: Fix rounding of denormals in double and float to half casts … (n…

    …umpy#12722)
    
    * BUG: Fix rounding of denormals in double and float to half casts
    
    Previously the significand was shifted right to align denormals of
    different magnitude. This loses some bits that can make a difference
    for rounding. This is fixed:
     1. For floats, by inspecting the original last bits when this may
        make a difference (should happen rarely)
     2. For doubles by shifting the bits left to align the denromals and
        thus not lose the lowest orginal bits.
    
    * TST: Test half denormal rounding
    
    The test assumes that half to even is active, if this is ever
    changed or allowed to change, the test will fail.
    
    * Fixup: Fixup for halffloat.c
    
    The one code path cannot be used. The other must have been a typo, but
    is a valid bug, a new test for it in the next commit.
    
    * TST: half casting lower bits are not lost for denormal results
    
    The first test only tested the off by one, this one specifically tests
    that all bits are used to decide if "round to nearest even" should
    be used, in the example of rounding towards 0.
    
    * TST: Test not just denormals but all positive finite float16s
    
    * DOC: Add lots of comments and add a short release note.
    seberg authored and charris committed Jan 24, 2019
    Configuration menu
    Copy the full SHA
    fc65dbf View commit details
    Browse the repository at this point in the history
  3. Merge pull request numpy#12843 from charris/backport-12824

    BUG: fix to check before apply `shlex.split`
    charris authored Jan 24, 2019
    Configuration menu
    Copy the full SHA
    f9f4cc8 View commit details
    Browse the repository at this point in the history
  4. Merge pull request numpy#12844 from charris/backport-12748

    BUG: Fix SystemError when pickling datetime64 array with pickle5
    charris authored Jan 24, 2019
    Configuration menu
    Copy the full SHA
    4786998 View commit details
    Browse the repository at this point in the history
  5. Merge pull request numpy#12845 from charris/backport-12722

    BUG: Fix rounding of denormals in double and float to half casts.
    charris authored Jan 24, 2019
    Configuration menu
    Copy the full SHA
    531c6be View commit details
    Browse the repository at this point in the history

Commits on Jan 27, 2019

  1. TEST: pin mingw version

    mattip authored and charris committed Jan 27, 2019
    Configuration menu
    Copy the full SHA
    b21f5d9 View commit details
    Browse the repository at this point in the history
  2. BUG: do not Py_DECREF NULL pointer

    cgohlke authored and charris committed Jan 27, 2019
    Configuration menu
    Copy the full SHA
    2e7a77e View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    01f61d0 View commit details
    Browse the repository at this point in the history
  4. Merge pull request numpy#12868 from charris/backport-12863

    TEST: pin mingw version
    charris authored Jan 27, 2019
    Configuration menu
    Copy the full SHA
    4ebe9bc View commit details
    Browse the repository at this point in the history

Commits on Jan 28, 2019

  1. Merge pull request numpy#12869 from charris/backport-12842

    BUG: ndarrays pickled by 1.16 cannot be loaded by 1.15.4 and lower
    charris authored Jan 28, 2019
    Configuration menu
    Copy the full SHA
    25e8aea View commit details
    Browse the repository at this point in the history
  2. Merge pull request numpy#12870 from charris/backport-12854

    BUG: do not Py_DECREF NULL pointer
    charris authored Jan 28, 2019
    Configuration menu
    Copy the full SHA
    c6f67b2 View commit details
    Browse the repository at this point in the history

Commits on Jan 30, 2019

  1. Configuration menu
    Copy the full SHA
    0004637 View commit details
    Browse the repository at this point in the history

Commits on Jan 31, 2019

  1. Merge pull request numpy#12890 from charris/backport-12871

    ENH: add _dtype_ctype to namespace for freeze analysis
    charris authored Jan 31, 2019
    Configuration menu
    Copy the full SHA
    6ca979b View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    ebe2f5c View commit details
    Browse the repository at this point in the history
  3. Merge pull request numpy#12891 from charris/backport-12850

    BUG: fail if old multiarray module detected
    charris authored Jan 31, 2019
    Configuration menu
    Copy the full SHA
    2c74ddc View commit details
    Browse the repository at this point in the history
  4. Merge pull request numpy#12898 from eric-wieser/distutils-debug

    BUG: Do not double-quote arguments passed on to the linker
    charris authored Jan 31, 2019
    Configuration menu
    Copy the full SHA
    7338e77 View commit details
    Browse the repository at this point in the history
  5. Merge pull request numpy#12899 from eric-wieser/distutils-extra-quote…

    …s-again
    
    BUG: Do not insert extra double quote into preprocessor macros
    charris authored Jan 31, 2019
    Configuration menu
    Copy the full SHA
    b0ad668 View commit details
    Browse the repository at this point in the history
  6. DOC: Prepare for 1.16.1 release.

    - Create 1.16.1-notes.rst
    - Create 1.16.1-changelog.rst
    - Update mailmap
    
    [ci skip]
    charris committed Jan 31, 2019
    Configuration menu
    Copy the full SHA
    e8b20fb View commit details
    Browse the repository at this point in the history
  7. Merge pull request numpy#12902 from charris/prepare-1.16.1-release

    DOC: Prepare for 1.16.1 release.
    charris authored Jan 31, 2019
    Configuration menu
    Copy the full SHA
    8b4e7db View commit details
    Browse the repository at this point in the history
  8. REL: NumPy 1.16.1 release.

    charris committed Jan 31, 2019
    Configuration menu
    Copy the full SHA
    685b9ac View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    ef9a17a View commit details
    Browse the repository at this point in the history

Commits on Feb 1, 2019

  1. TST: fix vmImage dispatch in Azure

    tylerjereddy authored and charris committed Feb 1, 2019
    Configuration menu
    Copy the full SHA
    5494eac View commit details
    Browse the repository at this point in the history
  2. Merge pull request numpy#12909 from charris/backport-12903

    TST: fix vmImage dispatch in Azure
    charris authored Feb 1, 2019
    Configuration menu
    Copy the full SHA
    4dc28a7 View commit details
    Browse the repository at this point in the history

Commits on Feb 2, 2019

  1. Configuration menu
    Copy the full SHA
    12c7e0a View commit details
    Browse the repository at this point in the history

Commits on Feb 3, 2019

  1. Merge pull request numpy#12923 from charris/backport-12920

    MAINT: remove complicated test of multiarray import failure mode
    charris authored Feb 3, 2019
    Configuration menu
    Copy the full SHA
    3326b34 View commit details
    Browse the repository at this point in the history

Commits on Feb 22, 2019

  1. BUG: fix signed zero behavior in npy_divmod

    Previously when doing floor division numpy would sometimes return an incorrect
    signed zero. For example:
    
    >>> np.zeros(10)//1
    array([-0., -0., -0., -0., -0., -0., -0., -0., -0., -0.])
    
    >>> np.remainder(-1.0,1.0)
    -0.0
    
    The reason for this is that whenever div or mod were zero the code was using
    the following to pick the sign of zero:
    
    floordiv = (a / b > 0) ? 0.0@c@ : -0.0@c@;
    
    This commit updates these lines to instead use the copysign function which is
    how cpython does floor division.
    
    Fixes numpy#12841.
    tlatorre-uchicago authored and charris committed Feb 22, 2019
    Configuration menu
    Copy the full SHA
    ab9a5ad View commit details
    Browse the repository at this point in the history

Commits on Feb 23, 2019

  1. Merge pull request numpy#13020 from charris/backport-12846

    BUG: fix signed zero behavior in npy_divmod
    charris authored Feb 23, 2019
    Configuration menu
    Copy the full SHA
    f7e04a0 View commit details
    Browse the repository at this point in the history

Commits on Feb 24, 2019

  1. Merge pull request numpy#13026 from eric-wieser/distutils-windows-split

    MAINT: Add functions to parse shell-strings in the platform-native way
    charris authored Feb 24, 2019
    Configuration menu
    Copy the full SHA
    075aa34 View commit details
    Browse the repository at this point in the history
  2. BUG: Fix regression in parsing of F90 and F77 environment variables

    Fixes numpygh-12979
    
    Among other things, this means setting the `F90` environment variable to `"path to/f90" --coverage` works again.
    eric-wieser authored and charris committed Feb 24, 2019
    Configuration menu
    Copy the full SHA
    57b8ee6 View commit details
    Browse the repository at this point in the history
  3. Merge pull request numpy#13028 from charris/backport-13027

    BUG: Fix regression in parsing of F90 and F77 environment variables
    charris authored Feb 24, 2019
    Configuration menu
    Copy the full SHA
    4334768 View commit details
    Browse the repository at this point in the history

Commits on Feb 25, 2019

  1. Merge pull request numpy#13038 from eric-wieser/distutils-shlex-split

    BUG: parse shell escaping in extra_compile_args and extra_link_args
    charris authored Feb 25, 2019
    Configuration menu
    Copy the full SHA
    63644d9 View commit details
    Browse the repository at this point in the history

Commits on Feb 26, 2019

  1. BLD: Windows absolute path DLL loading

    * add an Azure CI test to mimic recent
    Anaconda DLL path resolution restrictions
    that prevent NumPy imports
    
    * patch numpy.core initialization to use
    absolute DLL path loading to overcome
    the scenario described above
    tylerjereddy authored and charris committed Feb 26, 2019
    Configuration menu
    Copy the full SHA
    1ba0569 View commit details
    Browse the repository at this point in the history
  2. MAINT: probe multiple DLL handling on Win

    * Test for DLL pollution in numpy/.libs/ in Azure
    CI Windows Python 3.6 builds
    
    * emit a warning with DLL names when > 1 are present
    in numpy/.libs/
    tylerjereddy authored and charris committed Feb 26, 2019
    Configuration menu
    Copy the full SHA
    569f1d6 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    f08fccb View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    9e9b3c2 View commit details
    Browse the repository at this point in the history
  5. Merge pull request numpy#13041 from charris/backport-13019

    BLD: Windows absolute path DLL loading
    charris authored Feb 26, 2019
    Configuration menu
    Copy the full SHA
    fa8816f View commit details
    Browse the repository at this point in the history
  6. DOC: Prepare for 1.16.2 release.

    - Create changelog
    - Update release notes
    - Update mailmap
    
    [ci skip]
    charris committed Feb 26, 2019
    Configuration menu
    Copy the full SHA
    aec409f View commit details
    Browse the repository at this point in the history
  7. Merge pull request numpy#13045 from charris/prepare-1.16.2-release

    DOC: Prepare for 1.16.2 release.
    charris authored Feb 26, 2019
    Configuration menu
    Copy the full SHA
    40c5328 View commit details
    Browse the repository at this point in the history
  8. REL: NumPy 1.16.2 release.

    charris committed Feb 26, 2019
    Configuration menu
    Copy the full SHA
    0eeb158 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    4d1ff1d View commit details
    Browse the repository at this point in the history

Commits on Mar 2, 2019

  1. BUG: Fixes to numpy.distutils.Configuration.get_version (numpy#13056)

    * BUG: Use subprocess.check_output to avoid leaking file handles
    
    This emitted a ResourceWarning as previously written, as the streams
    never got closed.
    
    This change also detects errors in `svnversion` and `hg`, rather than
    ignoring the error code and hoping stdout contains a revision anyway.
    
    * BUG: Fix distutils.get_version on python 3
    
    Previously, this would throw `TypeError: cannot use a string pattern on
    a bytes-like object`, which would then be silenced and never seen.
    
    The previous commit stopped silencing this error, so now everything is
    visibly broken rather than silently broken
    
    Changing the strings to raw strings fixes the problem
    
    * BUG: Don't use `close_fds`, which fails on windows
    
    This argument was introduced along with subprocess in
    f5afa78 to replace `popen4`, and
    probably wasn't necessary in the first place.
    eric-wieser authored and charris committed Mar 2, 2019
    Configuration menu
    Copy the full SHA
    8551c71 View commit details
    Browse the repository at this point in the history
  2. Merge pull request numpy#13072 from charris/backport-13056

    BUG: Fixes to numpy.distutils.Configuration.get_version (numpy#13056)
    charris authored Mar 2, 2019
    Configuration menu
    Copy the full SHA
    13042a3 View commit details
    Browse the repository at this point in the history

Commits on Mar 3, 2019

  1. BUG: Fix errors in string formatting while producing an error

    `"Invalid version %r" % (1, 2)` would fail with `TypeError: not all arguments converted during string formatting`
    
    The `Header is not a dictionary` error had a similar problem.
    
    Fixed by changing this entire function to use `.format` in place of `%`, which does not have this gotcha.
    
    Found using LGTM.com
    eric-wieser authored and charris committed Mar 3, 2019
    Configuration menu
    Copy the full SHA
    9e74751 View commit details
    Browse the repository at this point in the history
  2. Convert fortran flags from environment variable

    This PR fixes numpy#13074.
    rainwoodman authored and charris committed Mar 3, 2019
    Configuration menu
    Copy the full SHA
    e76ac4f View commit details
    Browse the repository at this point in the history
  3. Changes suggested by eric-wieser

    rainwoodman authored and charris committed Mar 3, 2019
    Configuration menu
    Copy the full SHA
    9b8f973 View commit details
    Browse the repository at this point in the history
  4. Update numpy/distutils/fcompiler/environment.py

    Co-Authored-By: rainwoodman <[email protected]>
    2 people authored and charris committed Mar 3, 2019
    Configuration menu
    Copy the full SHA
    07bcfa5 View commit details
    Browse the repository at this point in the history
  5. Update environment.py

    rainwoodman authored and charris committed Mar 3, 2019
    Configuration menu
    Copy the full SHA
    faa414a View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    a4ed6bb View commit details
    Browse the repository at this point in the history
  7. BUG: fixes from review

    mattip authored and charris committed Mar 3, 2019
    Configuration menu
    Copy the full SHA
    938fb69 View commit details
    Browse the repository at this point in the history
  8. BUG: fixes from review

    mattip authored and charris committed Mar 3, 2019
    Configuration menu
    Copy the full SHA
    b7ac775 View commit details
    Browse the repository at this point in the history
  9. BUG: fixes from review

    mattip authored and charris committed Mar 3, 2019
    Configuration menu
    Copy the full SHA
    219f530 View commit details
    Browse the repository at this point in the history

Commits on Mar 4, 2019

  1. Merge pull request numpy#13082 from charris/backport-13077

    BUG: Fix errors in string formatting while producing an error
    charris authored Mar 4, 2019
    Configuration menu
    Copy the full SHA
    16fbe5c View commit details
    Browse the repository at this point in the history
  2. Merge pull request numpy#13083 from charris/backport-13075

    BUG: Convert fortran flags in environment variable
    charris authored Mar 4, 2019
    Configuration menu
    Copy the full SHA
    d49a1ef View commit details
    Browse the repository at this point in the history
  3. Merge pull request numpy#13084 from charris/backport-13039

    BUG: Remove error-prone borrowed reference handling
    charris authored Mar 4, 2019
    Configuration menu
    Copy the full SHA
    977105b View commit details
    Browse the repository at this point in the history
  4. BUG: Add missing error checking in conversion from integers to dateti…

    …me types
    
    This prevents SystemErrors on overflow, fixing numpygh-13062
    eric-wieser authored and charris committed Mar 4, 2019
    Configuration menu
    Copy the full SHA
    9b89e08 View commit details
    Browse the repository at this point in the history
  5. Merge pull request numpy#13085 from charris/backport-13068

    BUG: Add error checks when converting integers to datetime types
    charris authored Mar 4, 2019
    Configuration menu
    Copy the full SHA
    ac0ae66 View commit details
    Browse the repository at this point in the history
  6. BUG: Remove our patched version of distutils.split_quoted

    The patch was a workaround for our broken `exec_command`. It was removed
    in numpygh-1217, but then added back in numpygh-1321.  Now that we've fixed
    exec_command, I believe we can finally take it out for good.
    eric-wieser authored and charris committed Mar 4, 2019
    Configuration menu
    Copy the full SHA
    2788e09 View commit details
    Browse the repository at this point in the history
  7. Merge pull request numpy#13091 from charris/backport-13076

    BUG: Remove our patched version of `distutils.split_quoted`
    charris authored Mar 4, 2019
    Configuration menu
    Copy the full SHA
    4afcaac View commit details
    Browse the repository at this point in the history

Commits on Mar 16, 2019

  1. BUG: ppc is using IBM double double

    This fixes TestConversion.test_int_from_huge_longdouble.
    andreas-schwab authored and charris committed Mar 16, 2019
    Configuration menu
    Copy the full SHA
    8b0494b View commit details
    Browse the repository at this point in the history
  2. BUG: ppc and riscv don't use REAL(10)

    This fixes numpy.f2py.tests.test_kind.TestKind
    andreas-schwab authored and charris committed Mar 16, 2019
    Configuration menu
    Copy the full SHA
    244abdf View commit details
    Browse the repository at this point in the history
  3. Fix numpy#13087 by raising a ValueError and adding a unit test for it

    Bharat123Rox authored and charris committed Mar 16, 2019
    Configuration menu
    Copy the full SHA
    a4c128f View commit details
    Browse the repository at this point in the history
  4. Added more tests as suggested by @eric-wieser

    Bharat123Rox authored and charris committed Mar 16, 2019
    Configuration menu
    Copy the full SHA
    50e3300 View commit details
    Browse the repository at this point in the history
  5. Added issue number in comment

    Bharat123Rox authored and charris committed Mar 16, 2019
    Configuration menu
    Copy the full SHA
    e5507db View commit details
    Browse the repository at this point in the history
  6. BUG: ensure linspace works on object input.

    As it was, the difference between stop and start was calculated and
    it was assumed that that would be a numpy scalar or array. This is
    not true for object input.
    mhvk authored and charris committed Mar 16, 2019
    Configuration menu
    Copy the full SHA
    af9ef68 View commit details
    Browse the repository at this point in the history
  7. BLD: fix include list for sdist building.

    rgommers authored and charris committed Mar 16, 2019
    Configuration menu
    Copy the full SHA
    84f6c85 View commit details
    Browse the repository at this point in the history

Commits on Mar 17, 2019

  1. Merge pull request numpy#13141 from charris/backport-13095

    BUG: Fix testsuite failures on ppc and riscv
    charris authored Mar 17, 2019
    Configuration menu
    Copy the full SHA
    de24427 View commit details
    Browse the repository at this point in the history
  2. Merge pull request numpy#13142 from charris/backport-13093

    BUG: Fix parameter validity checks in ``random.choice``
    charris authored Mar 17, 2019
    Configuration menu
    Copy the full SHA
    9be1410 View commit details
    Browse the repository at this point in the history
  3. Merge pull request numpy#13143 from charris/backport-13092

    BUG: Ensure linspace works on object input.
    charris authored Mar 17, 2019
    Configuration menu
    Copy the full SHA
    c0d2ca5 View commit details
    Browse the repository at this point in the history
  4. Merge pull request numpy#13144 from charris/backport-13086

    BLD: fix include list for sdist building.
    rgommers authored Mar 17, 2019
    Configuration menu
    Copy the full SHA
    87710cb View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    e6a7a80 View commit details
    Browse the repository at this point in the history
  6. Merge pull request numpy#13145 from charris/backport-13036

    BUG: __array_interface__ offset was always ignored
    charris authored Mar 17, 2019
    Configuration menu
    Copy the full SHA
    afd8841 View commit details
    Browse the repository at this point in the history

Commits on Apr 6, 2019

  1. MAINT: f2py: Add a cast to avoid a compiler warning.

    The warning
    
    [...]/fortranobject.c:138:18: warning: comparison of integers of different signs:
    'Py_ssize_t' (aka 'long') and 'unsigned long' [-Wsign-compare]
    if (size < sizeof(notalloc)) {
                    ~~~~ ^ ~~~~~~~~~~~~~~~~
    
    occurs 17 times when scipy is built.  The change in this pull request
    casts `size` to `size_t` before comparing it to `sizeof(...)`.  A
    previous check has already eliminated the possibility that `size` is
    negative, so this cast is safe.
    WarrenWeckesser authored and charris committed Apr 6, 2019
    Configuration menu
    Copy the full SHA
    95bc2f0 View commit details
    Browse the repository at this point in the history
  2. BUG/MAINT: fix reference count error on invalid input to ndarray.flat (

    …numpy#13176)
    
    Fixes numpygh-13165, where a double decref could occur on the error path.
    
    Folded into this commit is some related control flow cleanup requested at review time.
    adeak authored and charris committed Apr 6, 2019
    Configuration menu
    Copy the full SHA
    459d6e4 View commit details
    Browse the repository at this point in the history
  3. ENH: Cast covariance to double in random mvnormal

    Cast the covariance in the multivariate normal to double
    so that the interpretation of tol is cleaner.
    
    closes numpy#10839
    bashtage authored and charris committed Apr 6, 2019
    Configuration menu
    Copy the full SHA
    aca42d3 View commit details
    Browse the repository at this point in the history
  4. Merge pull request numpy#13274 from charris/backport-13269

    MAINT: f2py: Add a cast to avoid a compiler warning.
    charris authored Apr 6, 2019
    Configuration menu
    Copy the full SHA
    b428d4b View commit details
    Browse the repository at this point in the history
  5. Merge pull request numpy#13275 from charris/backport-13176

    BUG, MAINT: fix reference count error on invalid input to ndarray.flat
    charris authored Apr 6, 2019
    Configuration menu
    Copy the full SHA
    72f102e View commit details
    Browse the repository at this point in the history
  6. Merge pull request numpy#13276 from charris/backport-12547

    ENH: Cast covariance to double in random mvnormal
    charris authored Apr 6, 2019
    Configuration menu
    Copy the full SHA
    893f62e View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    5443fd4 View commit details
    Browse the repository at this point in the history

Commits on Apr 7, 2019

  1. Merge pull request numpy#13278 from charris/backport-13273

    BUG: Fix null pointer dereference in PyArray_DTypeFromObjectHelper
    charris authored Apr 7, 2019
    Configuration menu
    Copy the full SHA
    aa3545d View commit details
    Browse the repository at this point in the history

Commits on Apr 16, 2019

  1. Configuration menu
    Copy the full SHA
    a174866 View commit details
    Browse the repository at this point in the history
  2. BUG: Fix crash when calling savetxt on a padded array

    As a general rule, _every_ use of `.descr` is broken.
    
    Fixes numpy#13297
    eric-wieser authored and charris committed Apr 16, 2019
    Configuration menu
    Copy the full SHA
    8c77b24 View commit details
    Browse the repository at this point in the history
  3. TST: fix up test_structured_padded

    * minor reviewer adjustments in PR
    13301: in test_structured_padded it
    is necessary to perform the seek
    after writing to the file, and to
    specify a fmt option to match
    the expected result
    tylerjereddy authored and charris committed Apr 16, 2019
    Configuration menu
    Copy the full SHA
    6aea739 View commit details
    Browse the repository at this point in the history
  4. BUG: ufunc.at iteration variable size fix

    The iteration variable has to be intp of course, unfortunately
    a test is too slow to be practical (even as a slow test).
    
    This code needs more refactoring, but since it is a minimal fix...
    
    Closes numpygh-13286
    seberg authored and charris committed Apr 16, 2019
    Configuration menu
    Copy the full SHA
    54563cd View commit details
    Browse the repository at this point in the history
  5. DOC: Add as_ctypes_type to the documentation

    This is mentioned in the release notes, so probably should be
    discoverable.
    
    - Change those mentions to links.
    - Fix the docstring to not cause sphinx to emit warnings.
    eric-wieser authored and charris committed Apr 16, 2019
    Configuration menu
    Copy the full SHA
    0ff0393 View commit details
    Browse the repository at this point in the history
  6. Merge pull request numpy#13341 from charris/backport-13323

    BUG: ufunc.at iteration variable size fix
    charris authored Apr 16, 2019
    Configuration menu
    Copy the full SHA
    e2e1e4b View commit details
    Browse the repository at this point in the history
  7. Merge pull request numpy#13340 from charris/backport-13301

    BUG: Fix crash when calling savetxt on a padded array
    charris authored Apr 16, 2019
    Configuration menu
    Copy the full SHA
    b6380a2 View commit details
    Browse the repository at this point in the history
  8. Merge pull request numpy#13339 from charris/backport-13060

    BUG: Use C call to sysctlbyname for AVX detection on MacOS.
    charris authored Apr 16, 2019
    Configuration menu
    Copy the full SHA
    33b8947 View commit details
    Browse the repository at this point in the history
  9. Merge pull request numpy#13342 from charris/backport-13335

    DOC: Add as_ctypes_type to the documentation
    charris authored Apr 16, 2019
    Configuration menu
    Copy the full SHA
    9b86735 View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    bccdefe View commit details
    Browse the repository at this point in the history
  11. Merge pull request numpy#13350 from eric-wieser/poly1d-fixes-fixes-fi…

    …xes-fixes
    
    BUG: Return the coefficients array directly
    charris authored Apr 16, 2019
    Configuration menu
    Copy the full SHA
    9789b51 View commit details
    Browse the repository at this point in the history
  12. Merge pull request numpy#13351 from eric-wieser/tidy-typeinfo

    BUG/MAINT: Tidy typeinfo.h and .c
    charris authored Apr 16, 2019
    Configuration menu
    Copy the full SHA
    3a2f7b3 View commit details
    Browse the repository at this point in the history

Commits on Apr 17, 2019

  1. Configuration menu
    Copy the full SHA
    8cea82a View commit details
    Browse the repository at this point in the history
  2. Merge pull request numpy#13359 from charris/backport-12889

    BUG: Make allow_pickle=False the default for loading
    charris authored Apr 17, 2019
    Configuration menu
    Copy the full SHA
    89b6887 View commit details
    Browse the repository at this point in the history
  3. DOC: fix some doctest failures

    mattip authored and charris committed Apr 17, 2019
    Configuration menu
    Copy the full SHA
    446d321 View commit details
    Browse the repository at this point in the history
  4. BUG/MAINT: Tidy typeinfo.h and .c

    * Add missing headers that happened to be included before this file
    * Fix accidentally exported symbols
    * Move registering types in `multiarray.__dict__` to the source file that creates the types
    * Add missing error checking to make up for PyStructSequence_InitType2 not being available
    eric-wieser authored and charris committed Apr 17, 2019
    Configuration menu
    Copy the full SHA
    e433b24 View commit details
    Browse the repository at this point in the history
  5. Merge pull request numpy#13360 from charris/backport-12560

    DOC: fix some doctest failures
    charris authored Apr 17, 2019
    Configuration menu
    Copy the full SHA
    4ba782f View commit details
    Browse the repository at this point in the history
  6. Merge pull request numpy#13363 from charris/backport-13346

    BUG/MAINT: Tidy typeinfo.h and .c
    charris authored Apr 17, 2019
    Configuration menu
    Copy the full SHA
    5db42b9 View commit details
    Browse the repository at this point in the history

Commits on Apr 21, 2019

  1. Configuration menu
    Copy the full SHA
    e925155 View commit details
    Browse the repository at this point in the history
  2. Merge pull request numpy#13381 from charris/backport-13379

    BLD: address mingw-w64 issue. Follow-up to numpygh-9977
    charris authored Apr 21, 2019
    Configuration menu
    Copy the full SHA
    4163210 View commit details
    Browse the repository at this point in the history
  3. REL: Prepare for the NumPy release.

    - Update mailmap
    - Prepare the release notes
    - Create the changelog.
    
    [ci skip]
    charris committed Apr 21, 2019
    Configuration menu
    Copy the full SHA
    7323f73 View commit details
    Browse the repository at this point in the history
  4. Merge pull request numpy#13382 from charris/prepare-1.16.3

    REL: Prepare for the NumPy release.
    charris authored Apr 21, 2019
    Configuration menu
    Copy the full SHA
    dec22e4 View commit details
    Browse the repository at this point in the history
  5. REL: NumPy 1.16.3 release.

    charris committed Apr 21, 2019
    Configuration menu
    Copy the full SHA
    08b17ae View commit details
    Browse the repository at this point in the history

Commits on Apr 22, 2019

  1. Configuration menu
    Copy the full SHA
    0f6677c View commit details
    Browse the repository at this point in the history

Commits on Apr 23, 2019

  1. BUG: Some PyPy versions lack PyStructSequence_InitType2.

    Define `PyStructSequence_InitType2` for those PyPy versions that
    don't support it.
    
    Closes numpygh-13384.
    charris committed Apr 23, 2019
    Configuration menu
    Copy the full SHA
    7aa4f92 View commit details
    Browse the repository at this point in the history
  2. Merge pull request numpy#13392 from charris/fix-for-broken-pypy

    BUG: Some PyPy versions lack PyStructSequence_InitType2.
    charris authored Apr 23, 2019
    Configuration menu
    Copy the full SHA
    5176a6d View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    07fb76b View commit details
    Browse the repository at this point in the history
  4. Merge pull request numpy#13394 from charris/backport-13391

    MAINT, DEP: Fix deprecated ``assertEquals()``
    charris authored Apr 23, 2019
    Configuration menu
    Copy the full SHA
    dfd5764 View commit details
    Browse the repository at this point in the history

Commits on Apr 24, 2019

  1. Configuration menu
    Copy the full SHA
    405bf88 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    0723772 View commit details
    Browse the repository at this point in the history

Commits on Apr 27, 2019

  1. Merge pull request numpy#13396 from eric-wieser/fix-1-field-unstructu…

    …red-backport
    
    BUG: Fix structured_to_unstructured on single-field types (backport)
    charris authored Apr 27, 2019
    Configuration menu
    Copy the full SHA
    5bdd4f4 View commit details
    Browse the repository at this point in the history

Commits on May 13, 2019

  1. Configuration menu
    Copy the full SHA
    5328ea6 View commit details
    Browse the repository at this point in the history
  2. Merge pull request numpy#13549 from charris/backport-13534

    BLD: Make CI pass again with pytest 4.5
    charris authored May 13, 2019
    Configuration menu
    Copy the full SHA
    78b8850 View commit details
    Browse the repository at this point in the history
  3. TST: Register markers in conftest.py.

    Register the markers 'slow' and 'valgrind' in the `conftest.py` file
    instead of `pytest.ini` as the latter file is not always present.
    charris committed May 13, 2019
    Configuration menu
    Copy the full SHA
    9d4feed View commit details
    Browse the repository at this point in the history
  4. Merge pull request numpy#13552 from charris/register-markers

    TST: Register markers in conftest.py.
    charris authored May 13, 2019
    Configuration menu
    Copy the full SHA
    1b5b0b4 View commit details
    Browse the repository at this point in the history

Commits on May 14, 2019

  1. Configuration menu
    Copy the full SHA
    1bd5d34 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    0202bd6 View commit details
    Browse the repository at this point in the history
  3. BUG: handle subarrays in descr_to_dtype

    mattip authored and charris committed May 14, 2019
    Configuration menu
    Copy the full SHA
    feb7733 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    3ba178e View commit details
    Browse the repository at this point in the history
  5. MAINT: remove uneeded code

    mattip authored and charris committed May 14, 2019
    Configuration menu
    Copy the full SHA
    3651a8c View commit details
    Browse the repository at this point in the history
  6. BUG: Proect generators from log(0.0)

    Ensure log(0.0) doesn't produce inf/nan values when generating random values
    bashtage authored and charris committed May 14, 2019
    Configuration menu
    Copy the full SHA
    484e563 View commit details
    Browse the repository at this point in the history
  7. BUG: Always return views from structured_to_unstructured when possible

    Also applies to unstructured_to_structured
    
    While producing correct resutls, the test added in this commit would previously make an unecessary copy, causing the assertion to fail.
    The cause was `astype` was being asked to convert from a subarray of shape `(x, y)` to one of `(x*y,)`, which it cannot do without making a copy.
    
    This changes the approach used to skip the step of flattening subarrays to 1d
    eric-wieser authored and charris committed May 14, 2019
    Configuration menu
    Copy the full SHA
    c3aff7e View commit details
    Browse the repository at this point in the history
  8. also match the stderr in get_version()

    which used to fail for ifort
    petronny authored and charris committed May 14, 2019
    Configuration menu
    Copy the full SHA
    a6f9c9f View commit details
    Browse the repository at this point in the history
  9. BUG: longdouble(int) does not work

    eric-wieser authored and charris committed May 14, 2019
    Configuration menu
    Copy the full SHA
    3d07480 View commit details
    Browse the repository at this point in the history
  10. MAINT: reviewer adjustments in PR 10723

    * add unit test for numpygh-9968, which currently
    fails on master
    
    * npy_longdouble.h include was missing in
    arraytypes.c.src, causing all sorts of
    unstable behavior for calls to
    npy_longdouble_from_PyLong()
    
    * correct control flow for PyBool_Type in
    string_to_long_double() function; include
    a unit test for np.longdouble(bool)
    tylerjereddy authored and charris committed May 14, 2019
    Configuration menu
    Copy the full SHA
    0c77aa4 View commit details
    Browse the repository at this point in the history
  11. MAINT: more adjustments in PR 10723

    * adjust test_longdouble_from_int to properly
    handle platforms where np.longdouble and
    np.double have roughly equivalent limits
    tylerjereddy authored and charris committed May 14, 2019
    Configuration menu
    Copy the full SHA
    9c05831 View commit details
    Browse the repository at this point in the history
  12. BUG: Fix incorrect reference counting of bytes

    This needs to be kept alive so we can check the last character of the string
    eric-wieser authored and charris committed May 14, 2019
    Configuration menu
    Copy the full SHA
    87f6277 View commit details
    Browse the repository at this point in the history

Commits on May 15, 2019

  1. Merge pull request numpy#13559 from charris/backport-13508

    BUG: Removes ValueError for empty kwargs in arraymultiter_new
    charris authored May 15, 2019
    Configuration menu
    Copy the full SHA
    794d056 View commit details
    Browse the repository at this point in the history
  2. Merge pull request numpy#13560 from charris/backport-13435

    BUG: Add TypeError to accepted exceptions in crackfortran.
    charris authored May 15, 2019
    Configuration menu
    Copy the full SHA
    04801db View commit details
    Browse the repository at this point in the history
  3. Merge pull request numpy#13561 from charris/backport-13433

    BUG: Handle subarrays in descr_to_dtype
    charris authored May 15, 2019
    Configuration menu
    Copy the full SHA
    28e484d View commit details
    Browse the repository at this point in the history
  4. Merge pull request numpy#13562 from charris/backport-13416

    BUG: Protect generators from log(0.0)
    charris authored May 15, 2019
    Configuration menu
    Copy the full SHA
    921578d View commit details
    Browse the repository at this point in the history
  5. Merge pull request numpy#13563 from charris/backport-13332

    BUG: Always return views from structured_to_unstructured when possible
    charris authored May 15, 2019
    Configuration menu
    Copy the full SHA
    a8ebc14 View commit details
    Browse the repository at this point in the history
  6. Merge pull request numpy#13564 from charris/backport-12831

    BUG: Catch stderr when checking compiler version
    charris authored May 15, 2019
    Configuration menu
    Copy the full SHA
    42098aa View commit details
    Browse the repository at this point in the history
  7. Merge pull request numpy#13565 from charris/backport-10723

    BUG: longdouble(int) does not work
    charris authored May 15, 2019
    Configuration menu
    Copy the full SHA
    3556883 View commit details
    Browse the repository at this point in the history

Commits on May 19, 2019

  1. BUG: distutils/system_info.py fix missing subprocess import (numpy#13523

    )
    
    * distutils/system_info.py fix missing subprocess import
    
    * Update system_info.py
    denniszollo authored and charris committed May 19, 2019
    Configuration menu
    Copy the full SHA
    46f8459 View commit details
    Browse the repository at this point in the history

Commits on May 20, 2019

  1. Merge pull request numpy#13587 from charris/backport-13523

    BUG: distutils/system_info.py fix missing subprocess import (numpy#13523)
    charris authored May 20, 2019
    Configuration menu
    Copy the full SHA
    c8ea622 View commit details
    Browse the repository at this point in the history

Commits on May 24, 2019

  1. BUG,DEP: Fix writeable flag setting for arrays without base

    This also deprecates setting a non-writeable array to writeable if
    that array does not own its data (and has no base object to check if
    the memory may be writeable). (Deprecation on Python side only)
    
    Closes numpygh-481
    seberg authored and charris committed May 24, 2019
    Configuration menu
    Copy the full SHA
    d2c7337 View commit details
    Browse the repository at this point in the history

Commits on May 25, 2019

  1. Merge pull request numpy#13620 from charris/backport-13463

    BUG,DEP: Fix writeable flag setting for arrays without base
    charris authored May 25, 2019
    Configuration menu
    Copy the full SHA
    3fb956e View commit details
    Browse the repository at this point in the history

Commits on May 27, 2019

  1. Configuration menu
    Copy the full SHA
    6a2ef00 View commit details
    Browse the repository at this point in the history
  2. MAINT: Prepare for the 1.16.4 release.

    [ci skip]
    charris committed May 27, 2019
    Configuration menu
    Copy the full SHA
    bb26ea9 View commit details
    Browse the repository at this point in the history
  3. Merge pull request numpy#13644 from charris/backport-13642

    BUG: special case object arrays when printing rel-, abs-error
    charris authored May 27, 2019
    Configuration menu
    Copy the full SHA
    3b90236 View commit details
    Browse the repository at this point in the history
  4. Merge pull request numpy#13641 from charris/prepare-1.16.4-release

    MAINT: Prepare for the 1.16.4 release.
    charris authored May 27, 2019
    Configuration menu
    Copy the full SHA
    858cd32 View commit details
    Browse the repository at this point in the history
  5. REL: NumPy 1.16.4 release.

    charris committed May 27, 2019
    Configuration menu
    Copy the full SHA
    7ebbc2e View commit details
    Browse the repository at this point in the history

Commits on May 28, 2019

  1. Configuration menu
    Copy the full SHA
    a306a62 View commit details
    Browse the repository at this point in the history

Commits on Jun 9, 2019

  1. Configuration menu
    Copy the full SHA
    c04675c View commit details
    Browse the repository at this point in the history

Commits on Jun 12, 2019

  1. Merge pull request numpy#13742 from greysteil/add-project-urls

    ENH: Add project URLs to setup.py
    charris authored Jun 12, 2019
    Configuration menu
    Copy the full SHA
    d94acc7 View commit details
    Browse the repository at this point in the history

Commits on Jun 24, 2019

  1. Configuration menu
    Copy the full SHA
    bfd4bed View commit details
    Browse the repository at this point in the history

Commits on Jun 25, 2019

  1. Configuration menu
    Copy the full SHA
    8a7c30f View commit details
    Browse the repository at this point in the history
  2. Merge pull request numpy#13823 from mattip/pypy-1.16.4

    TEST, ENH: fix tests and ctypes code for PyPy
    charris authored Jun 25, 2019
    Configuration menu
    Copy the full SHA
    770b61a View commit details
    Browse the repository at this point in the history

Commits on Jun 27, 2019

  1. Configuration menu
    Copy the full SHA
    0a6c0d9 View commit details
    Browse the repository at this point in the history
  2. Merge pull request numpy#13845 from econtal/fix-13842-masking-large-s…

    …tructured-arrays
    
    BUG: use npy_intp instead of int for indexing array
    charris authored Jun 27, 2019
    Configuration menu
    Copy the full SHA
    a729ddb View commit details
    Browse the repository at this point in the history

Commits on Jun 29, 2019

  1. TST: Ignore DeprecationWarning during nose imports

    Nose is outdated and causes a DeprecationWarning during import,
    a change in pytest seems to now trip over the warning, so ignore
    it (in a slightly ugly manner)
    seberg authored and charris committed Jun 29, 2019
    Configuration menu
    Copy the full SHA
    01bc3de View commit details
    Browse the repository at this point in the history
  2. Merge pull request numpy#13867 from charris/backport-13864

    TST: Ignore DeprecationWarning during nose imports
    charris authored Jun 29, 2019
    Configuration menu
    Copy the full SHA
    56c1f5f View commit details
    Browse the repository at this point in the history

Commits on Jul 3, 2019

  1. BUG: Fix use-after-free in boolean indexing

    The index array is decrefed before extracting the shape to construct the
    `indices` array. If the caller does not hold a reference (which happens
    when the caller passed a list from which a temporary array was
    constructed, for example), this leads to a use-after-free.
    
    Closes numpy#13714.
    bmerry authored and seberg committed Jul 3, 2019
    Configuration menu
    Copy the full SHA
    98d835f View commit details
    Browse the repository at this point in the history
  2. TST: add a regression test for numpy#13715

    Without the fix, this test will still pass, but will show up as a
    use-after-free when run under valgrind.
    bmerry authored and seberg committed Jul 3, 2019
    Configuration menu
    Copy the full SHA
    eb4a5da View commit details
    Browse the repository at this point in the history
  3. Merge pull request numpy#13905 from seberg/backport-13715

    BUG: Fix use-after-free in boolean indexing
    charris authored Jul 3, 2019
    Configuration menu
    Copy the full SHA
    e97133b View commit details
    Browse the repository at this point in the history

Commits on Jul 8, 2019

  1. Merge pull request numpy#13933 from eric-wieser/forbid-_add_newdocs-p…

    …ython
    
    MAINT/BUG/DOC: Fix errors in _add_newdocs
    charris authored Jul 8, 2019
    Configuration menu
    Copy the full SHA
    39d646b View commit details
    Browse the repository at this point in the history

Commits on Jul 14, 2019

  1. BUG: fix byte order reversal for datetime64[ns]

    Numpy arrays with metadata (including units for datetime64) can't have their type copied based only on the typenum.
    This change is in the array_setstate, where it does byte reversal of data from platforms with a different endian value.
    Richard Harris authored and charris committed Jul 14, 2019
    Configuration menu
    Copy the full SHA
    039334d View commit details
    Browse the repository at this point in the history
  2. Merge pull request numpy#13984 from charris/backport-12905

    BUG: fix byte order reversal for datetime64[ns]
    charris authored Jul 14, 2019
    Configuration menu
    Copy the full SHA
    ca6480e View commit details
    Browse the repository at this point in the history
  3. MAINT,BUG: Use nbytes to also catch empty descr during allocation

    We do not want to allocate 0 bytes (since it is not well defined),
    normally nbytes is 0 if the array is empty. But in case also the
    descriptor element size is empty, use 1 byte.
    seberg authored and charris committed Jul 14, 2019
    Configuration menu
    Copy the full SHA
    31a21c4 View commit details
    Browse the repository at this point in the history
  4. Merge pull request numpy#13994 from charris/backport-13870

    MAINT,BUG: Use nbytes to also catch empty descr during allocation
    mattip authored Jul 14, 2019
    Configuration menu
    Copy the full SHA
    ba78b40 View commit details
    Browse the repository at this point in the history

Commits on Jul 17, 2019

  1. BUG: np.array cleared errors occured in PyMemoryView_FromObject

    This commit changes PyMemoryView_FromObject call sites to only
    clear BufferError and TypeError. Any other error will be raised
    to the caller of np.array.
    superbobry authored and charris committed Jul 17, 2019
    Configuration menu
    Copy the full SHA
    b99ef07 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    0d535d5 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    38bebe3 View commit details
    Browse the repository at this point in the history
  4. BUG: ensure that casting to/from structured is properly checked.

    Allow unsafe casting from a simple data type to a structured one with
    multiple fields, but only from structured data type with a single
    field (checked recursively) to a simple data type.
    
    For now, continue to allow any structured to structured with
    casting="unsafe", as the current can_cast implementation does not
    match that of "astype".
    mhvk authored and charris committed Jul 17, 2019
    Configuration menu
    Copy the full SHA
    0d60e50 View commit details
    Browse the repository at this point in the history
  5. MAINT: fix histogram*d dispatchers

    shoyer authored and charris committed Jul 17, 2019
    Configuration menu
    Copy the full SHA
    7030fd1 View commit details
    Browse the repository at this point in the history
  6. MAINT: spelling

    shoyer authored and charris committed Jul 17, 2019
    Configuration menu
    Copy the full SHA
    a81c7b3 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    a88e61f View commit details
    Browse the repository at this point in the history
  8. Merge pull request numpy#14042 from charris/backport-13507

    BUG: np.array cleared errors occured in PyMemoryView_FromObject
    charris authored Jul 17, 2019
    Configuration menu
    Copy the full SHA
    4722baf View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    d4861f2 View commit details
    Browse the repository at this point in the history
  10. Merge pull request numpy#14045 from charris/backport-13757

    MAINT: fix histogram*d dispatchers
    charris authored Jul 17, 2019
    Configuration menu
    Copy the full SHA
    ca0ef6f View commit details
    Browse the repository at this point in the history
  11. Merge pull request numpy#14043 from charris/backport-13590

    BUG: Fixes for Undefined Behavior Sanitizer (UBSan) errors.
    charris authored Jul 17, 2019
    Configuration menu
    Copy the full SHA
    2dad184 View commit details
    Browse the repository at this point in the history
  12. Merge pull request numpy#14044 from charris/backport-13648

    BUG: ensure that casting to/from structured is properly checked.
    charris authored Jul 17, 2019
    Configuration menu
    Copy the full SHA
    2075623 View commit details
    Browse the repository at this point in the history
  13. BUG: Replace contextlib.suppress for Python 2.7

    The contextlib.suppress context manager is not available in Python 2.7.
    charris committed Jul 17, 2019
    Configuration menu
    Copy the full SHA
    3f8c472 View commit details
    Browse the repository at this point in the history

Commits on Jul 18, 2019

  1. Merge pull request numpy#14052 from charris/fix-missing-suppress

    BUG: Replace contextlib.suppress for Python 2.7
    charris authored Jul 18, 2019
    Configuration menu
    Copy the full SHA
    f8ec7a4 View commit details
    Browse the repository at this point in the history
  2. BUG: further fixup to histogram2d dispatcher.

    Now with tests....
    mhvk authored and charris committed Jul 18, 2019
    Configuration menu
    Copy the full SHA
    091e03f View commit details
    Browse the repository at this point in the history
  3. Merge pull request numpy#14046 from charris/backport-13813

    BUG: further fixup to histogram2d dispatcher.
    charris authored Jul 18, 2019
    Configuration menu
    Copy the full SHA
    354410f View commit details
    Browse the repository at this point in the history
  4. BUG: fix compilation of 3rdparty modules with Py_LIMITED_API enabled

    There are no macros PyTuple_GET_SIZE and PyTuple_GET_ITEM available when compiling with enabled Py_LIMITED_API.
    mshabunin authored and charris committed Jul 18, 2019
    Configuration menu
    Copy the full SHA
    1ebed37 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    e550089 View commit details
    Browse the repository at this point in the history
  6. BUG: Add missing decref in ctypes check

    seberg authored and charris committed Jul 18, 2019
    Configuration menu
    Copy the full SHA
    eb45733 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    0646cbe View commit details
    Browse the repository at this point in the history
  8. rephrase

    danielballan authored and charris committed Jul 18, 2019
    Configuration menu
    Copy the full SHA
    d3d3cd1 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    223db83 View commit details
    Browse the repository at this point in the history
  10. Restore old intro, add note at top.

    danielballan authored and charris committed Jul 18, 2019
    Configuration menu
    Copy the full SHA
    d5c7fd1 View commit details
    Browse the repository at this point in the history
  11. Copy editing

    danielballan authored and charris committed Jul 18, 2019
    Configuration menu
    Copy the full SHA
    663742f View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    529bcd6 View commit details
    Browse the repository at this point in the history
  13. Merge pull request numpy#14058 from charris/backport-13979

    DOC: Document array_function at a higher level.
    rgommers authored Jul 18, 2019
    Configuration menu
    Copy the full SHA
    cd4bd94 View commit details
    Browse the repository at this point in the history

Commits on Jul 19, 2019

  1. Merge pull request numpy#14056 from charris/backport-13725

    BUG: fix compilation of 3rd party modules with Py_LIMITED_API enabled
    charris authored Jul 19, 2019
    Configuration menu
    Copy the full SHA
    956f44d View commit details
    Browse the repository at this point in the history
  2. Merge pull request numpy#14057 from charris/backport-13855

    BUG: Fix memory leak in dtype from dict contructor
    charris authored Jul 19, 2019
    Configuration menu
    Copy the full SHA
    be3d519 View commit details
    Browse the repository at this point in the history

Commits on Jul 23, 2019

  1. BUG, DOC: add new recfunctions to __all__

    Added new recfunctions to all , and made a few fixes in the docstrings
    of the functions.
    colinsnyder authored and charris committed Jul 23, 2019
    Configuration menu
    Copy the full SHA
    1f00c4d View commit details
    Browse the repository at this point in the history
  2. Merge pull request numpy#14084 from charris/backport-13964

    BUG, DOC: add new recfunctions to `__all__`
    charris authored Jul 23, 2019
    Configuration menu
    Copy the full SHA
    7f26bba View commit details
    Browse the repository at this point in the history

Commits on Jul 30, 2019

  1. BUG: Remove stray print that causes a SystemError on python 3.7 due t…

    …o an exception being in flight
    
    We shouldn't be reporting errors via print anyway
    
    Related to numpygh-14142
    eric-wieser authored and charris committed Jul 30, 2019
    Configuration menu
    Copy the full SHA
    bac5c2c View commit details
    Browse the repository at this point in the history
  2. Merge pull request numpy#14162 from charris/backport-14144

    BUG: Remove stray print that causes a SystemError on python 3.7
    charris authored Jul 30, 2019
    Configuration menu
    Copy the full SHA
    4f641f3 View commit details
    Browse the repository at this point in the history

Commits on Aug 18, 2019

  1. TST: Pin pytest to 5.0.1.

    Pytest 5.1.0 segfaults when run with python3.5-dbg.
    charris committed Aug 18, 2019
    Configuration menu
    Copy the full SHA
    967e21d View commit details
    Browse the repository at this point in the history
  2. wip

    charris committed Aug 18, 2019
    Configuration menu
    Copy the full SHA
    0f51da2 View commit details
    Browse the repository at this point in the history
  3. Merge pull request numpy#14297 from charris/pin-pytest-version

    TST: Pin pytest version to 5.0.1.
    charris authored Aug 18, 2019
    Configuration menu
    Copy the full SHA
    468e0bf View commit details
    Browse the repository at this point in the history

Commits on Aug 21, 2019

  1. Configuration menu
    Copy the full SHA
    30d5000 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    2f53e00 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    372a23f View commit details
    Browse the repository at this point in the history

Commits on Aug 22, 2019

  1. Merge pull request numpy#14322 from charris/backport-14216

    ENH: Enable huge pages in all Linux builds
    charris authored Aug 22, 2019
    Configuration menu
    Copy the full SHA
    2ec0f27 View commit details
    Browse the repository at this point in the history

Commits on Aug 23, 2019

  1. Configuration menu
    Copy the full SHA
    52560a3 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    66395f2 View commit details
    Browse the repository at this point in the history

Commits on Aug 24, 2019

  1. Merge pull request numpy#14346 from charris/backport-14310

    BUG: fix behavior of structured_to_unstructured on non-trivial dtypes
    charris authored Aug 24, 2019
    Configuration menu
    Copy the full SHA
    9789f33 View commit details
    Browse the repository at this point in the history

Commits on Aug 27, 2019

  1. REL: Prepare for the NumPy 1.16.5 release.

    - Update .mailmap
    - Create 1.16.5-changelog.rst
    - Update 1.16.5-notes.rst.
    
    [ci skip]
    charris committed Aug 27, 2019
    Configuration menu
    Copy the full SHA
    3e3bc8a View commit details
    Browse the repository at this point in the history
  2. Merge pull request numpy#14382 from charris/prepare-1.16.5-release

    REL: Prepare for the NumPy 1.16.5 release.
    charris authored Aug 27, 2019
    Configuration menu
    Copy the full SHA
    b117fb6 View commit details
    Browse the repository at this point in the history
  3. REL: NumPy 1.16.5 release.

    charris committed Aug 27, 2019
    Configuration menu
    Copy the full SHA
    cbdc3b7 View commit details
    Browse the repository at this point in the history

Commits on Aug 28, 2019

  1. Configuration menu
    Copy the full SHA
    4ea7bca View commit details
    Browse the repository at this point in the history

Commits on Sep 4, 2019

  1. Configuration menu
    Copy the full SHA
    aaa87b0 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    992a20e View commit details
    Browse the repository at this point in the history
  3. BUG: skip new test on windows, 32-bit

    mattip authored and charris committed Sep 4, 2019
    Configuration menu
    Copy the full SHA
    f66afd4 View commit details
    Browse the repository at this point in the history
  4. Apply suggestions from code review

    Co-Authored-By: Eric Wieser <[email protected]>
    2 people authored and charris committed Sep 4, 2019
    Configuration menu
    Copy the full SHA
    1450488 View commit details
    Browse the repository at this point in the history

Commits on Sep 5, 2019

  1. Merge pull request numpy#14423 from charris/backport-14387

    BUG: test, fix regression in converting to ctypes.
    charris authored Sep 5, 2019
    Configuration menu
    Copy the full SHA
    d799640 View commit details
    Browse the repository at this point in the history
  2. Merge pull request numpy#14340 from eric-wieser/fix-if-fields-1.16

    BUG: Fix misuse of .names and .fields in various places (backport 14290 to 1.16)
    charris authored Sep 5, 2019
    Configuration menu
    Copy the full SHA
    0bbeef5 View commit details
    Browse the repository at this point in the history
  3. BUG: Simplify linear ramp padding with linspace

    linspace supports non-scalar values since version 1.16. This can
    simplify construction of the ramp for the pad mode "linear_ramp".
    
    This removes a bug in the old implementation where certain edge and
    end values resulted in an integer underflow for unsigned dtypes (see
    numpygh-14191). Protect against this regression with a new test for all
    numeric dtypes.
    lagru committed Sep 5, 2019
    Configuration menu
    Copy the full SHA
    1c45e0d View commit details
    Browse the repository at this point in the history
  4. BUG: Fixed maximum relative error reporting in assert_allclose (numpy…

    …gh-13802)
    
    Fixed maximum relative error reporting in assert_allclose:
    
    In cases where the two arrays have zeros at the same positions it will
    no longer report nan as the max relative error
    CakeWithSteak authored and charris committed Sep 5, 2019
    Configuration menu
    Copy the full SHA
    9621473 View commit details
    Browse the repository at this point in the history
  5. Merge pull request numpy#14434 from charris/backport-13802

    BUG: Fixed maximum relative error reporting in assert_allclose
    charris authored Sep 5, 2019
    Configuration menu
    Copy the full SHA
    ea570c6 View commit details
    Browse the repository at this point in the history

Commits on Sep 9, 2019

  1. Merge pull request numpy#14211 from lagru/fix-linear-ramp-backport-1-16

    BUG: Fix uint-overflow if padding with linear_ramp and negative gain (backport)
    charris authored Sep 9, 2019
    Configuration menu
    Copy the full SHA
    6482719 View commit details
    Browse the repository at this point in the history

Commits on Sep 14, 2019

  1. BUG: Fix regression in boolean matmul.

    This fixes a regression in boolean matmul where booleans were being
    handled as integers rather than booleans. In addition, this backports
    matmul support for object arrays.
    mattip authored and charris committed Sep 14, 2019
    Configuration menu
    Copy the full SHA
    37c8f1a View commit details
    Browse the repository at this point in the history
  2. Merge pull request numpy#14509 from charris/backport-14464

    BUG: Fix regression in boolean matmul.
    charris authored Sep 14, 2019
    Configuration menu
    Copy the full SHA
    d465f21 View commit details
    Browse the repository at this point in the history

Commits on Oct 12, 2019

  1. BUG: properly define PyArray_DescrCheck

    mattip authored and charris committed Oct 12, 2019
    Configuration menu
    Copy the full SHA
    78070f0 View commit details
    Browse the repository at this point in the history
  2. Merge pull request numpy#14686 from charris/backport-14605

    BUG: properly define PyArray_DescrCheck
    charris authored Oct 12, 2019
    Configuration menu
    Copy the full SHA
    50e4b2f View commit details
    Browse the repository at this point in the history

Commits on Oct 18, 2019

  1. BUG: fixing to allow unpickling of PY3 pickles from PY2

    fixing to allow unpickling of PY3 pickles from PY2, particularly when
    the pickle containes structured dtypes with field names. see numpygh-2407
    Fernando Saravia authored and Saravia Rajal committed Oct 18, 2019
    Configuration menu
    Copy the full SHA
    c548a14 View commit details
    Browse the repository at this point in the history

Commits on Oct 20, 2019

  1. Merge pull request numpy#14275 from fersarr/1.16_2

    BUG: fixing to allow unpickling of PY3 pickles from PY2
    mattip authored Oct 20, 2019
    Configuration menu
    Copy the full SHA
    e9322e8 View commit details
    Browse the repository at this point in the history

Commits on Nov 7, 2019

  1. BLD: add 'apt update' to shippable

    numpygh-14841 failed to pass shippable tests, the CI could not install
    gfortran. We may need to add apt update before apt install.
    charris committed Nov 7, 2019
    Configuration menu
    Copy the full SHA
    9047759 View commit details
    Browse the repository at this point in the history
  2. Merge pull request numpy#14853 from charris/backport-14842

    BLD: add 'apt update' to shippable
    charris authored Nov 7, 2019
    Configuration menu
    Copy the full SHA
    426f031 View commit details
    Browse the repository at this point in the history
  3. BUG: Fix _ctypes class cirular reference. (numpy#13808)

    In _ctypes class, ctypes.cast() was called twice. It causes circular reference
    for _ctypes._data due to the CPython bug https://bugs.python.org/issue12836.
    sunqm authored and charris committed Nov 7, 2019
    Configuration menu
    Copy the full SHA
    4adcd0f View commit details
    Browse the repository at this point in the history

Commits on Nov 8, 2019

  1. Merge pull request numpy#14854 from charris/backport-14469

    BUG: Fix _ctypes class circular reference. (numpy#13808)
    charris authored Nov 8, 2019
    Configuration menu
    Copy the full SHA
    4d02877 View commit details
    Browse the repository at this point in the history
  2. BUG: Fix np.einsum errors on Power9 Linux and z/Linux

    Backport of numpy#14693.
    
    Fixes numpy#14692 on Power 9 and z/Linux
    charris committed Nov 8, 2019
    Configuration menu
    Copy the full SHA
    566f9eb View commit details
    Browse the repository at this point in the history
  3. Merge pull request numpy#14856 from charris/backport-14693

    BUG: Fix `np.einsum` errors on Power9 Linux and z/Linux
    charris authored Nov 8, 2019
    Configuration menu
    Copy the full SHA
    a405a6b View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    5a6cd69 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    48a86ad View commit details
    Browse the repository at this point in the history
  6. BUG: lib: Fix histogram problem with signed integer arrays.

    An input such as
    
        np.histogram(np.array([-2, 0, 127], dtype=np.int8), bins="auto")
    
    would raise the exception
    
        ValueError: Number of samples, -1, must be non-negative.
    
    The problem was that the peak-to-peak value for the input array was
    computed with the `ptp` method, which returned negative values for
    signed integer arrays when the actual value was more than the
    maximum signed value of the array's data type.
    
    The fix is to use a peak-to-peak function that returns an
    unsigned value for signed integer arrays.
    
    Closes numpygh-14379.
    WarrenWeckesser authored and charris committed Nov 8, 2019
    Configuration menu
    Copy the full SHA
    461a64a View commit details
    Browse the repository at this point in the history
  7. Merge pull request numpy#14863 from charris/backport-14827

    BLD: Prevent -flto from optimising long double representation check away
    charris authored Nov 8, 2019
    Configuration menu
    Copy the full SHA
    791288c View commit details
    Browse the repository at this point in the history
  8. Merge pull request numpy#14864 from charris/backport-14381

    BUG: lib: Fix histogram problem with signed integer arrays.
    charris authored Nov 8, 2019
    Configuration menu
    Copy the full SHA
    08614de View commit details
    Browse the repository at this point in the history

Commits on Dec 25, 2019

  1. ENH: Backport improvements to testing functions.

    This improves the documentation and error messages of the testing
    functions and extends `numpy.testing.assert_array_compare` to
    more data types.
    charris committed Dec 25, 2019
    Configuration menu
    Copy the full SHA
    4e6d516 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    bcb1333 View commit details
    Browse the repository at this point in the history
  3. Merge pull request numpy#15172 from charris/try-backport-utils

    ENH: Backport improvements to testing functions.
    charris authored Dec 25, 2019
    Configuration menu
    Copy the full SHA
    336eeb4 View commit details
    Browse the repository at this point in the history

Commits on Dec 29, 2019

  1. REL: Prepare for 1.16.6 release.

    - Update 1.16.6-notes.rst
    - Create 1.16.6-changelog.rst
    charris committed Dec 29, 2019
    Configuration menu
    Copy the full SHA
    7a6d2d9 View commit details
    Browse the repository at this point in the history
  2. Merge pull request numpy#15191 from charris/prepare-1.16.6-release

    REL: Prepare for 1.16.6 release.
    charris authored Dec 29, 2019
    Configuration menu
    Copy the full SHA
    56ebda2 View commit details
    Browse the repository at this point in the history
  3. REL: NumPy 1.16.6 release.

    charris committed Dec 29, 2019
    Configuration menu
    Copy the full SHA
    3dec709 View commit details
    Browse the repository at this point in the history

Commits on Sep 19, 2023

  1. CVE-2021-41495 Cherry pick 7f17bf7

    Frederick Price authored and rickprice committed Sep 19, 2023
    Configuration menu
    Copy the full SHA
    df4c10d View commit details
    Browse the repository at this point in the history
  2. CVE-2021-41495 Fix up some breakage caused by backport

    Frederick Price authored and rickprice committed Sep 19, 2023
    Configuration menu
    Copy the full SHA
    1bf1ecc View commit details
    Browse the repository at this point in the history
  3. CVE-2021-41495 Remove code that isn't being used, and was added by th…

    …e cherry-pick
    Frederick Price authored and rickprice committed Sep 19, 2023
    Configuration menu
    Copy the full SHA
    bdf5169 View commit details
    Browse the repository at this point in the history
  4. Add release notes

    Frederick Price authored and rickprice committed Sep 19, 2023
    Configuration menu
    Copy the full SHA
    6507087 View commit details
    Browse the repository at this point in the history
  5. Merge pull request #2 from ActiveState/BE-2669-cve-2021-41495-disputed

    Be 2669 CVE 2021 41495 disputed
    icanhasmath authored and rickprice committed Sep 19, 2023
    Configuration menu
    Copy the full SHA
    ebd7985 View commit details
    Browse the repository at this point in the history
  6. Merge pull request #3 from ActiveState/BE-2147-numpy-1-16-6-1

    BE-2147-numpy-1-16-6-1
    icanhasmath authored and rickprice committed Sep 19, 2023
    Configuration menu
    Copy the full SHA
    0559757 View commit details
    Browse the repository at this point in the history
  7. CVE-2021-41495 Fix compiler error with older compilers, particularly …

    …Windows
    
    Caused by there being a variable definition after the function start.
    
    As an example:
    libgit2/pygit2#53
    rickprice committed Sep 19, 2023
    Configuration menu
    Copy the full SHA
    0d11a93 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    16963f1 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    88e411f View commit details
    Browse the repository at this point in the history

Commits on Apr 3, 2024

  1. Configuration menu
    Copy the full SHA
    2cfd8d9 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    aa2085d View commit details
    Browse the repository at this point in the history