summaryrefslogtreecommitdiff
path: root/numpy
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #12611 from mattip/align-longdoubleCharles Harris2018-12-262-3/+9
|\ | | | | BUG: longdouble with elsize 12 is never uint alignable
| * MAINT: improve commentsmattip2018-12-262-3/+4
| |
| * BUG: non-uint-aligned arrays were counted as uint-alignedAllan Haldane2018-12-253-5/+7
| |
| * BUG: add case for longdouble alignment sizemattip2018-12-251-0/+3
| |
* | MAINT: Use `*.format` for some strings (#12608)Abdur-Rahmaan Janhangeer2018-12-261-2/+2
| |
* | replace fftpack with pocketfftMartin Reinecke2018-12-2511-2179/+2504
|/
* Merge pull request #12333 from tuelwer/masterMatti Picus2018-12-241-8/+20
|\ | | | | DOC: update description of the Dirichlet distribution
| * Remove extra whitespaceTobias Uelwer2018-12-141-1/+1
| |
| * DOC: update description of the Dirichlet distributionTobias Uelwer2018-11-051-9/+21
| |
* | Merge pull request #12317 from shoyer/array-function-cMarten van Kerkwijk2018-12-2015-145/+518
|\ \ | | | | | | ENH: port np.core.overrides to C for speed
| * | ENH: port __array_function__ overrides to CStephan Hoyer2018-12-1912-112/+455
| | |
| * | ENH: refactor __array_function__ pure Python implementationStephan Hoyer2018-12-196-83/+113
| | |
* | | Merge pull request #12592 from eric-wieser/dont-reinvent-subprocessMatti Picus2018-12-191-71/+16
|\ \ \ | | | | | | | | BUG,TST: Remove the misguided `run_command` that wraps subprocess in …
| * | | BUG,TST: Remove the misguided `run_command` that wraps subprocess in a ↵Eric Wieser2018-12-181-71/+16
| |/ / | | | | | | | | | | | | | | | broken way Also switches to using a parametrized test, for better error messages
* | | Merge pull request #12575 from danielhrisca/masterMatti Picus2018-12-191-6/+18
|\ \ \ | |/ / |/| | ENH: improve performance for numpy.core.records.find_duplicate
| * | Rename OrderedCounter to _OrderedCounterEric Wieser2018-12-181-2/+3
| | | | | | | | | Let's not add to the namespace
| * | use OrderedCounter recipe from Python documentationdanielhrisca2018-12-181-9/+17
| | |
| * | ENH: improve performance for core/records/find_duplicatedanielhrisca2018-12-171-6/+9
| | |
* | | Merge pull request #12583 from mattip/test-f2py-commandCharles Harris2018-12-181-0/+5
|\ \ \ | | | | | | | | TST: add test for 'python -mnumpy.f2py'
| * | | DEV: add test for 'python -mnumpy.f2py'mattip2018-12-181-0/+5
| | | |
* | | | Clarify skiprows in loadtxtIlja2018-12-181-1/+1
|/ / /
* | | Merge pull request #12577 from juliantaylor/fix-f2pyCharles Harris2018-12-171-1/+1
|\ \ \ | | | | | | | | BUG: fix f2py pep338 execution method
| * | | BUG: fix f2py pep338 execution methodJulian Taylor2018-12-171-1/+1
| | | | | | | | | | | | | | | | Closes gh-12576
* | | | Merge pull request #12560 from mattip/matmul-doctestsCharles Harris2018-12-171-11/+11
|\ \ \ \ | | | | | | | | | | DOC: fix some doctest failures
| * | | | DOC: fix some doctest failuresmattip2018-12-161-11/+11
| | | | |
* | | | | Merge pull request #12566 from asottile/segfault_ctypeslibCharles Harris2018-12-172-1/+14
|\ \ \ \ \ | | | | | | | | | | | | BUG: fix segfault in ctypeslib with obj being collected
| * | | | | BUG: fix segfault in ctypeslib with obj being collectedAnthony Sottile2018-12-162-1/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - https://bugs.python.org/issue35507 - https://stackoverflow.com/q/53757856/812183
* | | | | | Merge pull request #12572 from eric-wieser/fix-9647Charles Harris2018-12-175-26/+133
|\ \ \ \ \ \ | | | | | | | | | | | | | | BUG: Make `arr.ctypes.data` hold onto a reference to the underlying array
| * \ \ \ \ \ Merge commit '7ce7382d5eacbc3da026289483a841184a609928' into fix-9647Eric Wieser2018-12-16182-4663/+7109
| |\ \ \ \ \ \
| * | | | | | | BUG: Fix regression in _missing_ctypes.cast that is not tested in CIEric Wieser2018-12-161-1/+1
| | | | | | | |
| * | | | | | | BUG: Ensure that arr.ctypes works on arrays with overlapping fieldsEric Wieser2018-12-162-8/+40
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | These would previously fail in `from_buffer`, since these arrays cannot be used with the buffer protocol.
| * | | | | | | BUG: Do not duplicate dtype objects when asked to keep the same dtypeEric Wieser2018-12-161-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | If we're setting newtype to oldtype, we already know that oldtype is attached to an array, so should be considered sized.
* | | | | | | | Merge pull request #12546 from mattip/dtype-err-checkSebastian Berg2018-12-171-0/+9
|\ \ \ \ \ \ \ \ | |_|_|_|_|_|/ / |/| | | | | | | BUG: check for errors after PyArray_DESCR_REPLACE
| * | | | | | | BUG: check for errors after PyArray_DESCR_REPLACEmattip2018-12-171-0/+9
| | | | | | | |
* | | | | | | | Merge pull request #12544 from mattip/pypy-fixes2Charles Harris2018-12-164-7/+18
|\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | BUG: fix refcount issue caused by #12524
| * | | | | | | | BUG: be sure to set returned value to NULLmattip2018-12-161-0/+1
| | | | | | | | |
| * | | | | | | | MAINT: return Py_None not NULLmattip2018-12-143-4/+7
| | | | | | | | |
| * | | | | | | | BUG: fix from reviewmattip2018-12-143-8/+3
| | | | | | | | |
| * | | | | | | | BUG: fix refcount issue caused by #12524mattip2018-12-144-3/+15
| |/ / / / / / /
* | | | | | | | Revert "Merge pull request #11721 from eric-wieser/fix-9647"Charles Harris2018-12-164-100/+25
| |_|/ / / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | This reverts commit 7ce7382d5eacbc3da026289483a841184a609928, reversing changes made to c52543e4a7d2ab5d1ae4be7364c51965dc4fdb9e.
* | | | | | | Merge pull request #11721 from eric-wieser/fix-9647Charles Harris2018-12-164-25/+100
|\ \ \ \ \ \ \ | | |/ / / / / | |/| / / / / | |_|/ / / / |/| | | | | BUG: Make `arr.ctypes.data` hold onto a reference to the underlying array
| * | | | | MAINT: Use property decorators for clarityEric Wieser2018-11-041-8/+18
| | | | | |
| * | | | | BUG: Make `arr.ctypes.data` hold onto a reference to the underlying arrayEric Wieser2018-10-304-17/+82
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We do this by going through ctypes.from_buffer, which keeps the object the buffer came from alive. A bunch of hacks are required to produce a sufficiently simple buffer for ctypes to accept. Fixes #9647
* | | | | | Merge pull request #12555 from juliantaylor/fix-avxCharles Harris2018-12-161-46/+53
|\ \ \ \ \ \ | |_|_|/ / / |/| | | | | BUG: only override vector size for avx code
| * | | | | BUG: only override vector size for avx codeJulian Taylor2018-12-161-46/+53
| | |_|/ / | |/| | | | | | | | | | | | | | | | | | | | | | | only a fraction of code has avx variants so the size must not be overriden globally. Closes gh-12507
* | | | | DOC: more doc updates for structured arraysAllan Haldane2018-12-151-0/+9
| | | | | | | | | | | | | | | | | | | | [ci skip]
* | | | | MAINT: include recfunctions moduleTyler Reddy2018-12-142-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * added lib.recfunctions to refguide PUBLIC_SUBMODULES, as the doctests were otherwise not getting executed * fixed a failing doctest in recfunctions after above activation
* | | | | MAINT: >>> # style cleanups requestedTyler Reddy2018-12-143-13/+21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * reviewer requested that the cases where I switched from free-floating comments to `>>> # comments` be reverted to free-floating in docstrings
* | | | | MAINT: addressing review commentsTyler Reddy2018-12-144-3/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * restored regression comment in numpy/core/defchararray.py * fixed the dimensionality of the z array in all() docstring in numpy/core/fromnumeric.py; this isn't detected because it is in-line with variable memory addresses which are tagged as variable for refguide * byte_bounds() docstring adjusted to reflect non-variable dtype after reviewer requested removal of complex dtype * restore an original comment in matmul docstring, as requested by reviewer
* | | | | MAINT: revert numpy/lib/mixins to master branch status -- refguide passes in ↵Tyler Reddy2018-12-141-49/+52
| | | | | | | | | | | | | | | | | | | | any case now.