summaryrefslogtreecommitdiff
path: root/numpy
Commit message (Collapse)AuthorAgeFilesLines
...
| * | | | | | reverted to previous array_dump and array_dumps versionPierre Glaser2018-10-055-30/+14
| | | | | | |
| * | | | | | removed usage of np.ndarray.dump[s]Pierre Glaser2018-10-052-2/+2
| | | | | | |
| * | | | | | add the versionadded mention in the docsPierre Glaser2018-10-051-0/+4
| | | | | | |
| * | | | | | remove unwanted blank linePierre Glaser2018-10-051-1/+0
| | | | | | |
| * | | | | | loop over protocol for pickle testsPierre Glaser2018-10-055-54/+73
| | | | | | |
| * | | | | | updated documentation for array_dump[s]Pierre Glaser2018-10-051-3/+9
| | | | | | |
| * | | | | | added protocol kw to c implementations of array_dump[s]Pierre Glaser2018-10-051-8/+15
| |/ / / / /
* | | | | | Merge pull request #12106 from charris/fix-darwin-f2py-failuresCharles Harris2018-10-072-4/+15
|\ \ \ \ \ \ | |_|_|/ / / |/| | | | | TST, MAINT: Skip some f2py tests on Mac.
| * | | | | TST, MAINT: Skip some f2py tests on Mac.Charles Harris2018-10-072-4/+15
| |/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | There is a not yet understood problem in testing f2py C modules (*.pyf) files on the Mac that manifests as erratic module import failures.' This disables those tests until we can figure out what the problem is.
* | | | | Merge pull request #12093 from yarikoptic/enh-disclose-typeMatti Picus2018-10-071-1/+1
|\ \ \ \ \ | | | | | | | | | | | | ENH: Extend info in Invalid integer dtype error message
| * | | | | Provide information about what kind is actually not integer kindYaroslav Halchenko2018-10-051-1/+1
| |/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Otherwise it is hard to impossible to figure out what is the actual value which fails the test. See e.g. failing on 3.4 (only) tests of nibabel: https://ci.appveyor.com/project/nipy/nibabel/build/1.0.498/job/eechfm1kxroa0rju#L598
* | | | | TST: improve coverage of nd_gridTyler Reddy2018-10-061-0/+18
|/ / / /
* | | | MAINT: Blacklist some MSVC complex functions.Charles Harris2018-10-041-1/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Extend the blacklist to MSVC 2017 and add functions - CSQRT - CSQRTF - CSQRTL - CLOG - CLOGF - CLOGL - CACOS - CACOSF - CACOSL - CACOSH - CACOSHF - CACOSHL See comment from cgholke at issue #11855.
* | | | Merge pull request #11119 from eric-wieser/chain-PEP3118_exceptionMatti Picus2018-10-034-33/+49
|\ \ \ \ | | | | | | | | | | ENH: Chain exceptions to give better error messages for invalid PEP3118 format strings
| * | | | ENH: Chain exceptions to give better error messages for invalid PEP3118 ↵Eric Wieser2018-09-234-33/+49
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | format strings Sample console output: ``` In [1]: from ctypes import c_wchar In [2]: x = c_wchar * 3 In [3]: np.array(x()) --------------------------------------------------------------------------- ValueError Traceback (most recent call last) ~\Repos\numeric-python\numpy\build\testenv\Lib\site-packages\numpy\core\_internal.py in _dtype_from_pep3118(spec) 486 --> 487 dtype, align = __dtype_from_pep3118(stream, is_subdtype=False) 488 return dtype ~\Repos\numeric-python\numpy\build\testenv\Lib\site-packages\numpy\core\_internal.py in __dtype_from_pep3118(stream, is_subdtype) 558 else: --> 559 raise ValueError("Unknown PEP 3118 data type specifier %r" % stream.s) 560 ValueError: Unknown PEP 3118 data type specifier 'u' The above exception was the direct cause of the following exception: ValueError Traceback (most recent call last) <ipython-input-3-f8a17df3aa24> in <module>() ----> 1 np.array(x()) ValueError: '<u' is not a valid PEP 3118 buffer format string ```
* | | | | BUG: test_path() now uses Path.resolve()Tyler Reddy2018-10-021-1/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * test_path() in test_memmap.py no longer uses os.path.realpath() because of failure to resolve symlinks on Windows--a CPython bug that is still open * this was discovered in testing on the Azure CI platform, where a symlink was resolved by memmap in NumPy using Path.resolve(), while the unit test verifying this behavior used os.path.realpath()
* | | | | Merge pull request #11991 from hmaarrfk/block_optimize_orderMatti Picus2018-10-011-18/+15
|\ \ \ \ \ | | | | | | | | | | | | MAINT: speed up _block by avoiding a recursive closure
| * | | | | MAINT: speed up _block by avoiding a recursive closureMark Harfouche2018-09-201-18/+15
| | | | | |
* | | | | | BUG: OBJECT_to_* should check for errorsAllan Haldane2018-09-302-2/+11
| | | | | | | | | | | | | | | | | | | | | | | | Fixes #11993
* | | | | | Merge pull request #12061 from ceh-forks/remove-reduntant-importsCharles Harris2018-09-303-4/+0
|\ \ \ \ \ \ | | | | | | | | | | | | | | MAINT: remove redundant imports
| * | | | | | MAINT: remove redundant importsEmil Hessman2018-09-303-4/+0
| | | | | | |
* | | | | | | Merge pull request #12060 from ceh-forks/remove-more-unused-importsCharles Harris2018-09-3014-24/+4
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | MAINT: remove unused stdlib imports
| * | | | | | | MAINT: remove unused stdlib importsEmil Hessman2018-09-3014-24/+4
| |/ / / / / /
* | | | | | | Merge pull request #12058 from ceh-forks/remove-redundant-assignmentCharles Harris2018-09-301-1/+0
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | MAINT: remove redundant assignment
| * | | | | | | MAINT: remove redundant assignmentEmil Hessman2018-09-301-1/+0
| |/ / / / / /
* | | | | | | Merge pull request #6377 from ahaldane/fix_alignCharles Harris2018-09-3019-141/+250
|\ \ \ \ \ \ \ | |/ / / / / / |/| | | | | | BUG: define "uint-alignment", fixes complex64 alignment
| * | | | | | MAINT: remove unneeded test in npy_is_alignedAllan Haldane2018-09-271-8/+5
| | | | | | |
| * | | | | | DOC: Document how memory alignment works as of 1.14Allan Haldane2018-09-271-0/+1
| | | | | | |
| * | | | | | TST: Test complex64 alignmentAllan Haldane2018-09-272-1/+76
| | | | | | |
| * | | | | | ENH: Fix complex64 alignmentAllan Haldane2018-09-272-25/+4
| | | | | | |
| * | | | | | ENH: Make copy-code-paths check for uint-alignmentAllan Haldane2018-09-278-36/+38
| | | | | | |
| * | | | | | ENH: Implement methods for uint-alignmentAllan Haldane2018-09-277-62/+78
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Implements IsAligned, IsUintAligned, npy_uint_alignment
| * | | | | | BUG: raw_array_is_aligned ignores NPY_RELAXED_STRIDES_CHECKINGAllan Haldane2018-09-274-14/+45
| | | | | | |
| * | | | | | BUG: _strided_masked_wrapper_transfer_function goes out of boundsAllan Haldane2018-09-271-0/+8
| | | | | | |
* | | | | | | Merge pull request #11962 from mfkasim91/limitrowloadtxtCharles Harris2018-09-302-2/+58
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | ENH: maximum lines of content to be read from numpy.loadtxt
| * | | | | | | MAINT: Omit None in max_rows for np.loadtxt docstringmfkasim912018-09-301-1/+1
| | | | | | | |
| * | | | | | | MAINT: No tick for None in `max_rows` docstring for `np.loadtxt`mfkasim912018-09-301-1/+1
| | | | | | | |
| * | | | | | | ENH: add max_rows kwarg to numpy.loadtxt like numpy.genfromtxtmfkasim912018-09-302-2/+58
| | | | | | | |
* | | | | | | | Merge pull request #12054 from ceh-forks/avoid-modifying-mutable-default-valueCharles Harris2018-09-302-4/+9
|\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | MAINT: avoid modifying mutable default values
| * | | | | | | | MAINT: avoid modifying mutable default valuesEmil Hessman2018-09-292-4/+9
| | | | | | | | |
* | | | | | | | | Merge pull request #12045 from vanossj/fix-_tmp_string_t-memory-leakCharles Harris2018-09-301-1/+1
|\ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | BUG: fix memory leak of buffer format string
| * | | | | | | | | BUG: fix memory leak of buffer format stringJeff VanOss2018-09-271-1/+1
| | | | | | | | | |
* | | | | | | | | | Merge pull request #12035 from vanossj/check-for-_append_char-errorsCharles Harris2018-09-301-31/+50
|\ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | BUG: Fix memory leak in PY3K buffer code.
| * | | | | | | | | | MAINT: refactor pep3118 field name constructionJeff VanOss2018-09-261-40/+50
| | | | | | | | | | |
| * | | | | | | | | | BUG: fix memory leak of tmp object in PY3KJeff VanOss2018-09-261-5/+14
| | |_|_|/ / / / / / | |/| | | | | | | |
* | | | | | | | | | Merge pull request #12042 from shoyer/py-overrides-cleanupCharles Harris2018-09-301-32/+65
|\ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | MAINT: cleanup and better document core/overrides.py
| * | | | | | | | | | CLN: rename array_function internal argumentsStephan Hoyer2018-09-281-38/+28
| | | | | | | | | | |
| * | | | | | | | | | CLN: cleanup and better document core/overrides.pyStephan Hoyer2018-09-261-26/+69
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | I think this organization makes a little more sense, especially when thinking about what the functions we want to write in C should look like.
* | | | | | | | | | | Merge pull request #12056 from ceh-forks/fn-called-with-too-many-argsCharles Harris2018-09-301-2/+2
|\ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | MAINT: The crackfortran function is called with an extra argument
| * | | | | | | | | | | MAINT: don't call function with too many argumentsEmil Hessman2018-09-301-2/+2
| | |_|_|/ / / / / / / | |/| | | | | | | | |