summaryrefslogtreecommitdiff
path: root/numpy
Commit message (Collapse)AuthorAgeFilesLines
...
| * | | | | | TST: Verify that sorting subarrays is fixedEric Wieser2017-06-271-0/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Tests for gh-8069
| * | | | | | MAINT: Better names in ma.sort testEric Wieser2017-06-271-12/+12
| | | | | | |
| * | | | | | BUG: Fix gh-8069Eric Wieser2017-06-272-1/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Fill values were not correctly calculated for subdtypes, instead returning `None`
| * | | | | | MAINT: De-duplicate ma.m(ax|in)imum_fill_valueEric Wieser2017-06-271-26/+18
| |/ / / / /
* | | | | | Merge pull request #9316 from seberg/runtest-devmodeCharles Harris2017-06-271-3/+3
|\ \ \ \ \ \ | | | | | | | | | | | | | | Runtest devmode
| * | | | | | TST: Move nose plugin initialization outside of testing loopSebastian Berg2017-06-271-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | It seems ok to let this warning show up, and it does not directly relate to the test run itself, so moving it before setting up the warnings for the actual tests (and printing out the system info, so that it is not confused to originate in the actual tests).
* | | | | | | DOC: Add $PARAMS to the isnat docstringAndras Deak2017-06-271-0/+1
| |_|_|/ / / |/| | | | |
* | | | | | Merge pull request #9280 from rolk/9280_msys2_baseprefCharles Harris2017-06-271-4/+16
|\ \ \ \ \ \ | | | | | | | | | | | | | | BUG: Make extensions compilable with MinGW on Py2.7
| * | | | | | BUG: Handle MinGW module compilation in Py2.7 venvsRoland Kaufmann2017-06-221-1/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | If we are using the virtualenv module in Python 2.7 (as opposed to venv in Python 3.3+), then the location of the base distribution is stored in the real_prefix attribute instead of the base_prefix attribute. This changeset adds the content of this attribute to the search paths if it exist (i.e. in practice, if we are running Python 2.7), so that the runtime libraries do not have to be duplicated in the virtualenv directory.
| * | | | | | BUG: Make extensions compilable with MinGW on Py2.7Roland Kaufmann2017-06-221-3/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The original changeset 1c8ecc7 to make extensions compilable with MinGW used the base_prefix attribute unconditionally. However, this is not available in versions before Python 3.3. This changeset introduces a check for whether the attribute is available so that the code will work without errors also on Python 2.7. However, this may lead to surprising results when compiling in a virtualenv. Hat tip to Diorcet Yann (@diorcety) for pointing out this problem.
* | | | | | | Merge pull request #9310 from juliantaylor/nonzero-fixCharles Harris2017-06-272-1/+12
|\ \ \ \ \ \ \ | |_|_|/ / / / |/| | | | | | BUG: fix wrong ndim used in empty where check
| * | | | | | BUG: fix wrong ndim used in empty where checkJulian Taylor2017-06-272-1/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | closes gh-9304
* | | | | | | Merge pull request #9285 from charris/fix-intel-compilationCharles Harris2017-06-263-4/+24
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | BUG: Fix Intel compilation on Unix.
| * | | | | | | BUG: Fix Intel compilation on Unix.Charles Harris2017-06-263-4/+24
| | |/ / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixes two problems: * c compilers do not have a find_executables method. * get_version return a LooseVersion instance, not string. Closes #9278. [ci skip]
* | | | | | | MAINT: Fix alerts from http://lgtm.com (#9292)Jean Helie2017-06-263-21/+18
| |_|/ / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * make exception raising 2/3 compatible * remove unnecesary else statement after while loop without break clause * ensure file is always enclosed even in the event of an exception * ensure list comprehension variable does not override enclosing loop variable
* | | | | | Merge pull request #9220 from eric-wieser/simplify-nanfuncsCharles Harris2017-06-221-43/+53
|\ \ \ \ \ \ | | | | | | | | | | | | | | MAINT: Factor out code duplicated by nanmedian and nanpercentile
| * | | | | | MAINT: Factor out code duplicated by nanmedian and nanpercentileEric Wieser2017-06-211-43/+53
| | | | | | |
* | | | | | | ENH: Make 0-length dim handling of tensordot consistent with dot/einsumPim de Haan2017-06-222-5/+16
| |/ / / / / |/| | | | |
* | | | | | ENH: testing: add a "timer" keyword to ``Tester.test`` to time slow tests.Ralf Gommers2017-06-211-3/+15
| | | | | | | | | | | | | | | | | | | | | | | | Useful because no one can remember the magic ``extra_argv`` incantation.
* | | | | | ENH: testing: load available nose plugins that are external to nose itselfRalf Gommers2017-06-211-0/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Motivation is to be able to use `nose-timer` within the test() function. Try (after installing nose-timer): np.test(extra_argv=['--with-timer', '--timer-top-n', '20'])
* | | | | | ENH: Release the GIL in einsum() special-cased loops (#9246)Antoine Pitrou2017-06-201-0/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * ENH: Release the GIL in einsum() special-cased loops This does not only allow parallelization but also fixes issues where a background IO loop would suffer long wait times due to a large concurrent einsum() in another thread. * Use NPY_BEGIN_THREADS_THRESHOLDED * Add release notes entry
* | | | | | Merge pull request #9259 from soupault/fix_9251Charles Harris2017-06-182-6/+20
|\ \ \ \ \ \ | | | | | | | | | | | | | | MAINT: Use XOR for bool arrays in `np.diff`
| * | | | | | MAINT: Use neq instead of xor in diffEgor Panfilov2017-06-171-1/+1
| | | | | | |
| * | | | | | BUG: Switched to xor for bool arrays in diff, added corresponding testsEgor Panfilov2017-06-172-6/+20
| | | | | | |
* | | | | | | BUG: Fix unused variable in ufunc_object.c,Charles Harris2017-06-171-1/+0
| | | | | | |
* | | | | | | Merge pull request #9260 from juliantaylor/readonly-tempCharles Harris2017-06-172-0/+13
|\ \ \ \ \ \ \ | |/ / / / / / |/| | / / / / | | |/ / / / | |/| | | | BUG: don't elide into readonly and updateifcopy temporaries
| * | | | | BUG: don't elide into readonly and updateifcopy temporariesJulian Taylor2017-06-172-0/+13
| | | | | | | | | | | | | | | | | | | | | | | | Closes gh-9232, gh-9245
* | | | | | TST: add test case described in ticket 9228 for numpy.f2pyBob Eldering2017-06-132-0/+37
| | | | | |
* | | | | | BUG: fix missing keyword rename for common block to numpy.f2pyBob Eldering2017-06-121-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | A missing call to rmbadname1 in analyzecommon caused a look up of common block variables with a name in the badnames list to fail and the fall back of defaultimplicitrules to be used. See ticket 9228.
* | | | | | DOC: BLD: fix lots of Sphinx warnings/errors.Ralf Gommers2017-06-1011-65/+68
| | | | | |
* | | | | | Merge pull request #5580 from jakirkham/fix_masked_array_viewsCharles Harris2017-06-093-93/+105
|\ \ \ \ \ \ | | | | | | | | | | | | | | BUG, DEP: Fix masked arrays to properly edit views. ( #5558 )
| * | | | | | TST: Update and add tests masked array views.John Kirkham2017-01-172-69/+104
| | | | | | |
| * | | | | | BUG: Share masked array views for writing.John Kirkham2017-01-171-24/+1
| | | | | | |
* | | | | | | Merge pull request #9219 from eric-wieser/outer-docsCharles Harris2017-06-041-1/+4
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | DOC: Link to ufunc.outer from np.outer
| * | | | | | | DOC: Link to ufunc.outer from np.outerEric Wieser2017-06-041-1/+4
| | |_|/ / / / | |/| | | | | | | | | | | | | | | | | | | [ci skip]
* | | | | | | Merge pull request #9217 from juliantaylor/empty-resizeNathaniel J. Smith2017-06-032-18/+37
|\ \ \ \ \ \ \ | |/ / / / / / |/| | | | | | BUG: handle resize of 0d array
| * | | | | | BUG: handle resize to 0d arrayJulian Taylor2017-06-032-18/+37
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 0d arrays have NULL for stride and dimension, PyArray_Resize assigns it a valid pointer from RENEW which when passed back to the allocation cache does not have the minimum size of 16 bytes it requires leading to out of bound accesses. Closes gh-9216
* | | | | | | Merge pull request #9218 from eric-wieser/polynomial-exceptCharles Harris2017-06-031-11/+5
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | BUG: Only propagate TypeError from where we throw it
| * | | | | | | BUG: Only propagate TypeError from where we throw itEric Wieser2017-06-031-11/+5
| | | | | | | |
* | | | | | | | Merge pull request #9214 from eric-wieser/no-one-arg-whereCharles Harris2017-06-037-10/+12
|\ \ \ \ \ \ \ \ | |/ / / / / / / |/| | | | | | | MAINT: Don't internally use the one-argument where
| * | | | | | | MAINT: Don't internally use the one-argument whereEric Wieser2017-06-037-10/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | nonzero is a clearer spelling
* | | | | | | | BUG: KeyboardInterrupt is swallowed all over the placeEric Wieser2017-06-0343-89/+89
|/ / / / / / / | | | | | | | | | | | | | | | | | | | | | Bare except is very rarely the right thing
* | | | | | | Merge pull request #9212 from eric-wieser/tidy-function_baseJulian Taylor2017-06-032-9/+4
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | MAINT: Combine similar branches
| * | | | | | | MAINT: Combine similar branchesEric Wieser2017-06-032-9/+4
| | |_|_|_|_|/ | |/| | | | |
* | | | | | | MAINT: Use np.concatenate instead of np.vstack (#8934)Joseph Paul Cohen2017-06-021-12/+4
|/ / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The np.vstack function is maintained for backward compatibility, it's use in new code is discouraged. * MAINT: Replace internal uses of vstack vstack is supported only for backward compatibility We should use concatenate or stack instead * MAINT: Remove 1d special casing in piecewise * STY: Fix missing blank line in ma.tests.test_extras.py
* | | | | | Merge pull request #9202 from eric-wieser/move-str-reprMarten van Kerkwijk2017-06-016-188/+224
|\ \ \ \ \ \ | | | | | | | | | | | | | | MAINT: Move ndarray.__str__ and ndarray.__repr__ to their own file
| * | | | | | MAINT: Move string functions to their own fileEric Wieser2017-06-015-186/+217
| | | | | | |
| * | | | | | MAINT: Improve error message for missing API entryEric Wieser2017-06-011-2/+7
| | | | | | |
* | | | | | | Merge pull request #9155 from k-kapp/fix-issue-9154/masterCharles Harris2017-06-011-6/+0
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | MAINT: Take out code that will never be executed
| * | | | | | | MAINT: Take out code that will never be executedk_kapp@yahoo.com2017-05-211-6/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | See issue #9154