| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
| | | | | | | |
| | | | | | | |
| | | | | | | | |
[ci skip]
|
| | | | | | | | |
|
| | |_|_|_|_|/
| |/| | | | | |
|
|\ \ \ \ \ \ \
| |_|_|_|/ / /
|/| | | | | | |
NEP: move nep 15 from accepted to final
|
|/ / / / / / |
|
|\ \ \ \ \ \
| | | | | | |
| | | | | | | |
BUG: Fix for np.dtype(ctypes.Structure) does not respect _pack_ field
|
| | | | | | | |
|
| | | | | | | |
|
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
See #10532
Cosmetic changes + added an additional test with a more complex
structure.
|
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
See #10532
Made several changes to offset and size calulation. First pull request
was far from correct.
|
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
See #10532
|
|\ \ \ \ \ \ \
| |_|_|_|_|/ /
|/| | | | | | |
MAINT: Improve error message for legal but unsupported PEP3118 types
|
|/ / / / / /
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Relates to #12369
Traceback is now:
```
In [1]: from array import array
...: import numpy as np
...:
...: buf = array('u', ['q', 'w', 'e', 'r', 't'])
...: view = memoryview(buf)
...:
In [2]: np.array(view)
NotImplementedError: Unsupported PEP 3118 data type 'u' (UCS-2 strings)
The above exception was the direct cause of the following exception:
ValueError: 'u' is not a valid PEP 3118 buffer format string
```
|
|\ \ \ \ \ \
| | | | | | |
| | | | | | | |
TST: arg handling tests in histogramdd
|
| | | | | | | |
|
|\ \ \ \ \ \ \
| | | | | | | |
| | | | | | | | |
BUG: random: Fix handling of a=0 for numpy.random.weibull.
|
| | | | | | | | |
|
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | | |
Before this fix, np.random.weibull(a=0) often returned inf (and
in theory could have returned 1). It should only return 0.
Closes gh-12371.
|
|\ \ \ \ \ \ \ \
| |/ / / / / / /
|/| | | | | | | |
MAINT: disable `__array_function__` dispatch unless environment variable set
|
| | | | | | | | |
|
| | | | | | | | |
|
| | | | | | | | |
|
| | | | | | | | |
|
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | | |
Per discussion on the mailing list, __array_function__ isn't quite ready to
release as part of NumPy 1.16:
https://mail.python.org/pipermail/numpy-discussion/2018-November/078949.html
We'd like to improve performance a bit, and it will be easier to support
introspection on NumPy functions if we support Python 3 only.
So for now, you need to set the environment variable
``NUMPY_EXPERIMENTAL_ARRAY_FUNCTION=1`` to enable dispatching.
|
|\ \ \ \ \ \ \ \
| |_|_|_|_|_|/ /
|/| | | | | | | |
ENH: Allow ufunc.identity to be any python object
|
| | | | | | | | |
|
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | | |
Fixes #7702
|
| | |_|/ / / /
| |/| | | | | |
|
|\ \ \ \ \ \ \
| | | | | | | |
| | | | | | | | |
MAINT, TST: unreachable Python code paths
|
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | | |
* use vulture to check for unreachable Python
code paths in Azure CI
* fix up an unreachable path in f2py/capi_maps.py
|
|\ \ \ \ \ \ \ \
| | | | | | | | |
| | | | | | | | | |
MAINT: Refactor sorting header file
|
| | | | | | | | | |
|
|\ \ \ \ \ \ \ \ \
| | | | | | | | | |
| | | | | | | | | | |
MAINT: update gfortran RPATH for AIX/Windows non-support.
|
| | |_|_|/ / / / /
| |/| | | | | | |
| | | | | | | | |
| | | | | | | | | |
Closes https://github.com/scipy/scipy/issues/9452
|
|\ \ \ \ \ \ \ \ \
| |_|/ / / / / / /
|/| | | | | | | | |
NEP: clarify the purpose of "types" in `__array_function__`.
|
| |/ / / / / / /
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | | |
Per our discussion on the mailing list:
https://mail.python.org/pipermail/numpy-discussion/2018-November/078911.html
|
|\ \ \ \ \ \ \ \
| |/ / / / / / /
|/| | | | | | | |
BUG: Fix segfault when an error occurs in np.fromfile
|
|/ / / / / / /
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
There is a problem with the way in which we handle
errors which occur in the call to `PyArray_FromFile`
in `np.fromfile`.
The problem here is twofold.
1. The return value isn't checked, therefore if we reach
the fail block, we will attempt a DECREF on a NULL and
go down in flames.
2. The cleanup code on the filepointers (most notabily the
call to `npy_PyFile_DupClose2`) assumes that there is no
error set to work.
This PR addresses these issues
1. By adding a NULL check to the fail block to ensure we don't
attempt a DECREF on a NULL.
2. By saving the error state before attempting the cleanup code
on the file descriptor, and then restoring it after.
Fixes: #12300
|
|\ \ \ \ \ \ \
| | | | | | | |
| | | | | | | | |
DEP: deprecate np.set_numeric_ops and friends
|
| | | | | | | | |
|
| | | | | | | | |
|
|\ \ \ \ \ \ \ \
| | | | | | | | |
| | | | | | | | | |
TST, DOC: store circleci doc artifacts
|
| | | | | | | | | |
|
|\ \ \ \ \ \ \ \ \
| | | | | | | | | |
| | | | | | | | | | |
MAINT: Cleanup pavement file
|
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | | |
The `write_release_and_log` task has been removed from the pavement
file. Update the release walkthrough to use `write_release` instead.
[ci skip]
|
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | | |
Remove long unused options from pavement.py. There is actually little
left, and what is there could easily be turned into a python script at
this point, but this clarifies what is currently needed.
- Remove Windows installers code
- Remove OS X dmg installers code
- Remove Documentation generation code
- Remove Changelog generation
- Remove unused variables and make pylint happy
Also fix a Python 3 bug, the files to be hashed need to be
opened as binary files.
[ci skip]
|
|\ \ \ \ \ \ \ \ \ \
| |/ / / / / / / / /
|/| | | | | | | | | |
DEV: change ASV benchmarks to run on Python 3.6 by default
|
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | | |
Co-Authored-By: shoyer <shoyer@gmail.com>
|
| | | | | | | | | | |
|
|\ \ \ \ \ \ \ \ \ \
| |_|/ / / / / / / /
|/| | | | | | | | | |
BUG: fix a bug in npy_PyFile_Dup2 where it didn't return immediately on failure
|