summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #12286 from mattip/no-api-warnCharles Harris2018-11-191-0/+3
|\ | | | | ENH: Do not emit compiler warning if forcing old API
| * ENH: do not emit compilation warning if using old APImattip2018-11-141-0/+3
| |
* | Merge pull request #12417 from eric-wieser/ctypes-bad-errorsMatti Picus2018-11-192-7/+10
|\ \ | | | | | | BUG: Fix regression on np.dtype(ctypes.c_void_p)
| * | BUG: Fix regression on np.dtype(ctypes.c_void_p)Eric Wieser2018-11-192-3/+6
| | | | | | | | | | | | | | | | | | Historically, this always returned np.uintp - we should continue to do so, even though other pointer types have never been supported Fixes gh-12416
| * | MAINT: rename helper functions for consistencyEric Wieser2018-11-181-4/+4
| | |
* | | Merge pull request #12414 from charris/fix-cversionEric Wieser2018-11-182-6/+6
|\ \ \ | | | | | | | | MAINT: Update cversion hash.
| * | | MAINT: Update cversion hash.Charles Harris2018-11-182-6/+6
| | | | | | | | | | | | | | | | | | | | | | | | A new function was added to the ufunc_funcs_api. Closes #12412.
* | | | Merge pull request #12413 from eric-wieser/distutils-debugRalf Gommers2018-11-181-8/+8
|\ \ \ \ | |_|/ / |/| | | BUG: Do not double-quote arguments to the command line
| * | | BUG: Do not double-quote arguments to the command lineEric Wieser2018-11-181-8/+8
|/ / / | | | | | | | | | | | | | | | After the recent patch to CCompiler.spawn, the file-paths no longer need manual quoting - that's handled as needed within subprocess. Fixes #12411
* | | ENH: Add support for `np.dtype(ctypes.Union)` (#12405)Mircea-Akos Brumă2018-11-182-7/+63
|/ / | | | | | | Fixes #12273
* | Merge pull request #12407 from dimpase/masterCharles Harris2018-11-181-5/+8
|\ \ | | | | | | BUG: Fall back to 'ascii' locale in build (if needed)
| * | fall back to 'ascii' locale in build (if needed)Dima Pasechnik2018-11-171-5/+8
| | | | | | | | | | | | | | | | | | | | | If locale.getpreferredencoding(False) returns Null, the build fails, since commit 5652b0785. This seems to be not really necessary; here we provide a fallback to 'ascii' locale if needed.
* | | Merge pull request #12409 from ahaldane/fix_descr_descrMatti Picus2018-11-181-4/+4
|\ \ \ | |/ / |/| | MAINT: correct the dtype.descr docstring
| * | MAINT: correct the dtype.descr docstringAllan Haldane2018-11-181-4/+4
| | | | | | | | | | | | [ci skip]
* | | MAINT: Rewrite shape normalization in pad function (#11966)Lars Grüter2018-11-152-94/+145
| | |
* | | Merge pull request #12399 from hershen/fix-polyint-typoCharles Harris2018-11-151-1/+1
|\ \ \ | | | | | | | | DOC: Fix typo in polyint. Fixes #12386.
| * | | DOC: Fix typo in polyint.Alon Hershenhorn2018-11-151-1/+1
| | | | | | | | | | | | | | | | | | | | Change differentiate to integrate in parameter `p` description. Fixes #12386.
* | | | Merge pull request #12398 from juliantaylor/fix-large-vector-overlapCharles Harris2018-11-151-117/+134
|\ \ \ \ | | | | | | | | | | BUG: fix possible overlap issues with avx enabled
| * | | | BUG: fix possible overlap issues with avx enabledJulian Taylor2018-11-151-117/+134
| |/ / / | | | | | | | | | | | | | | | | Fix the overlap check for vectors larger than 16 bytes. Only an issue when avx is enabled at compile time.
* | | | Merge pull request #12391 from mattip/deprecate-uniqueCharles Harris2018-11-152-19/+3
|\ \ \ \ | |/ / / |/| | | DEP: raise on a call to deprecated numpy.lib.function_base.unique
| * | | DEP: remove deprecated numpy.lib.function_base.uniquemattip2018-11-152-19/+3
| | | |
* | | | Merge pull request #12381 from tylerjereddy/datasource_del_handlingCharles Harris2018-11-152-1/+16
|\ \ \ \ | | | | | | | | | | BUG: graceful DataSource __del__ when __init__ fails
| * | | | BUG: improve DataSource __del__Tyler Reddy2018-11-132-1/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * DataSource __del__ could raise an AttributeError if __init__ failed for any reason; __del__ now gracefully handles the case where __init__ fails, as happens in the internals of refguide_check when handling DataSource with an unexpected kwarg
* | | | | Merge pull request #12390 from mattip/cleanup-deprecateCharles Harris2018-11-151-7/+0
|\ \ \ \ \ | | | | | | | | | | | | DEV: remove shim added in 1.4
| * | | | | DEV remove shim added in 1.4mattip2018-11-141-7/+0
| | |/ / / | |/| | |
* | | | | BUG: Fix for #10533 np.dtype(ctype) does not respect endianness (#12380)Mircea-Akos Brumă2018-11-152-6/+39
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * BUG: Fix for #10533 np.dtype(ctype) does not respect endianness See: #10533 Added some code that uses the __name__ of the ctypes type. Also added some new test to make sure we'll know if the ctypes data that allows this workaround breaks in the future. * Fix for #10533 np.dtype(ctype) does not respect endianness Removed the TODO for this bug. * Fix for #10533 np.dtype(ctype) does not respect endianness Solved the recursiveness issue that failed the automated test. Also did some of Eric's requested changes. * Small mistake in the new function fixed. * Changed 'if t.__name__.endswith('_be') ' with 'if t.__ctypes_be__ is t' on Eric's suggestion. * Code cleanup on Eric's recommendations. * Cleaned up the tests on Eric's suggestions.
* | | | | Merge pull request #12392 from eric-wieser/ctypes-noteCharles Harris2018-11-151-0/+15
|\ \ \ \ \ | | | | | | | | | | | | DOC: Add release notes for ctypes improvements
| * | | | | DOC: Add release notes for ctypes improvementsEric Wieser2018-11-151-0/+15
|/ / / / / | | | | | | | | | | | | | | | Fixes gh-12272
* | | | | Merge pull request #11898 from tylerjereddy/rm_exec_command_2Charles Harris2018-11-142-21/+66
|\ \ \ \ \ | |/ / / / |/| | | | MAINT: remove exec_command usage from ccompiler.py
| * | | | MAINT: remove exec_command usage from ccompiler.pyTyler Reddy2018-10-312-21/+66
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * replaced the usage of exec_command() in ccompiler distutils module with subprocess equivalent
* | | | | Merge pull request #12382 from shoyer/finish-set-moduleCharles Harris2018-11-1430-215/+727
|\ \ \ \ \ | | | | | | | | | | | | ENH: set correct __module__ for objects in numpy's public API
| * | | | | MAINT: fix tests on Python 2Stephan Hoyer2018-11-141-0/+6
| | | | | |
| * | | | | MAINT: fix mispellingStephan Hoyer2018-11-141-1/+1
| | | | | |
| * | | | | MAINT: fix test failuresStephan Hoyer2018-11-132-22/+13
| | | | | |
| * | | | | MAINT: separate builtins and undocumented functionsStephan Hoyer2018-11-131-8/+12
| | | | | |
| * | | | | DOC: add a comment explaining why we use normal assertStephan Hoyer2018-11-131-0/+2
| | | | | |
| * | | | | ENH: set correct __module__ for objects in numpy's public APIStephan Hoyer2018-11-1329-195/+704
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixes GH-12271 Tests verify that everything in ``dir(numpy)`` either has ``__module__`` set to ``'numpy'``, or appears in an explicit whitelist of undocumented functions and exported bulitins. These should eventually be documented or removed. I also identified a handful of functions for which I had accidentally not setup dispatch for with ``__array_function__`` before, because they were listed under "ndarray methods" in ``_add_newdocs.py``. I guess that should be a lesson in trusting code comments :).
* | | | | | Merge pull request #12358 from mattip/roundtrip-record-arraysCharles Harris2018-11-142-2/+62
|\ \ \ \ \ \ | | | | | | | | | | | | | | BUG: test, fix loading structured dtypes with padding
| * | | | | | MAINT: fix from reviewmattip2018-11-141-6/+2
| | | | | | |
| * | | | | | BUG: fix for titles, cleanup, fixes from reviewmattip2018-11-132-8/+25
| | | | | | |
| * | | | | | BUG: test, fix loading structured dtypes with paddingmattip2018-11-132-2/+49
| |/ / / / /
* | | | | | Merge pull request #12376 from mattip/remove-import-error-maskCharles Harris2018-11-141-1/+0
|\ \ \ \ \ \ | |_|_|_|_|/ |/| | | | | BUG: do not override exception on import failure
| * | | | | BUG: do not override exception on import failuremattip2018-11-131-1/+0
| | | | | |
* | | | | | Merge pull request #12378 from charris/fix-longdouble-testsCharles Harris2018-11-131-17/+5
|\ \ \ \ \ \ | |_|_|_|/ / |/| | | | | TST: Update complex long double precision tests.
| * | | | | TST: Update complex long double precision tests.Charles Harris2018-11-131-17/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | It seems that special casing the long double precision tests in order to deal with PPC is no longer needed now that finfo has been fixed for the IBM double double and the blacklisting of failing functions. Consequently the tests can be simplified and no longer needed functions removed. See #8566 for discussion.
* | | | | | Merge pull request #11480 from mhvk/ufunc-override-move-code-closer-to-useCharles Harris2018-11-135-186/+168
|\ \ \ \ \ \ | | | | | | | | | | | | | | MAINT: move ufunc override code to umath and multiarray as much as possible.
| * | | | | | MAINT: fix c comment from reviewmattip2018-10-161-1/+1
| | | | | | |
| * | | | | | MAINT: move code to umath and multiarray as much as possible.Marten van Kerkwijk2018-09-215-186/+168
| | | | | | |
* | | | | | | Merge pull request #12338 from ryzheboka/docs-for-compare_chararraysCharles Harris2018-11-131-0/+37
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | DOC: add a docstring for the function 'compare_chararrays' (See #10106)
| * | | | | | | MAINT: Fix spaces, formatting, and improve explanations. Charles Harris2018-11-131-13/+11
| | | | | | | | | | | | | | | | | | | | | | | | [ci skip]