diff options
author | Josh Wilson <person142@users.noreply.github.com> | 2020-08-19 12:11:08 -0700 |
---|---|---|
committer | Josh Wilson <person142@users.noreply.github.com> | 2020-08-20 08:41:33 -0700 |
commit | 4983fc897126ffe429f9d87e7b83152c61e237f6 (patch) | |
tree | 0d8b1b4f991290ef4a33641c6769c945aa30be96 | |
parent | 64619c55896dad1927afe78c0702a58abf0d038f (diff) | |
download | numpy-4983fc897126ffe429f9d87e7b83152c61e237f6.tar.gz |
DOC: make spacing consistent in NEP 41 bullet points
Currently the uneven spacing is making some of the bullet points show
up as quoted; see e.g.
https://numpy.org/neps/nep-0041-improved-dtype-support.html#backward-compatibility
-rw-r--r-- | doc/neps/nep-0041-improved-dtype-support.rst | 52 |
1 files changed, 26 insertions, 26 deletions
diff --git a/doc/neps/nep-0041-improved-dtype-support.rst b/doc/neps/nep-0041-improved-dtype-support.rst index 56ff5eac6..6dc4ea50c 100644 --- a/doc/neps/nep-0041-improved-dtype-support.rst +++ b/doc/neps/nep-0041-improved-dtype-support.rst @@ -514,22 +514,22 @@ are not yet fully clear, we anticipate, and accept the following changes: * **C-API**: - * In old versions of NumPy ``PyArray_DescrCheck`` is a macro which uses - ``type(dtype) is np.dtype``. When compiling against an old NumPy version, - the macro may have to be replaced with the corresponding - ``PyObject_IsInstance`` call. (If this is a problem, we could backport - fixing the macro) - - * The UFunc machinery changes will break *limited* parts of the current - implementation. Replacing e.g. the default ``TypeResolver`` is expected - to remain supported for a time, although optimized masked inner loop iteration - (which is not even used *within* NumPy) will no longer be supported. - - * All functions currently defined on the dtypes, such as - ``PyArray_Descr->f->nonzero``, will be defined and accessed differently. - This means that in the long run lowlevel access code will - have to be changed to use the new API. Such changes are expected to be - necessary in very few project. + * In old versions of NumPy ``PyArray_DescrCheck`` is a macro which uses + ``type(dtype) is np.dtype``. When compiling against an old NumPy version, + the macro may have to be replaced with the corresponding + ``PyObject_IsInstance`` call. (If this is a problem, we could backport + fixing the macro) + + * The UFunc machinery changes will break *limited* parts of the current + implementation. Replacing e.g. the default ``TypeResolver`` is expected + to remain supported for a time, although optimized masked inner loop iteration + (which is not even used *within* NumPy) will no longer be supported. + + * All functions currently defined on the dtypes, such as + ``PyArray_Descr->f->nonzero``, will be defined and accessed differently. + This means that in the long run lowlevel access code will + have to be changed to use the new API. Such changes are expected to be + necessary in very few project. * **dtype implementors (C-API)**: @@ -541,16 +541,16 @@ are not yet fully clear, we anticipate, and accept the following changes: At least in some code paths, a similar mechanism is already used. * The ``scalarkind`` slot and registration of scalar casting will be - removed/ignored without replacement. - It currently allows partial value-based casting. - The ``PyArray_ScalarKind`` function will continue to work for builtin types, - but will not be used internally and be deprecated. - - * Currently user dtypes are defined as instances of ``np.dtype``. - The creation works by the user providing a prototype instance. - NumPy will need to modify at least the type during registration. - This has no effect for either ``rational`` or ``quaternion`` and mutation - of the structure seems unlikely after registration. + removed/ignored without replacement. + It currently allows partial value-based casting. + The ``PyArray_ScalarKind`` function will continue to work for builtin types, + but will not be used internally and be deprecated. + + * Currently user dtypes are defined as instances of ``np.dtype``. + The creation works by the user providing a prototype instance. + NumPy will need to modify at least the type during registration. + This has no effect for either ``rational`` or ``quaternion`` and mutation + of the structure seems unlikely after registration. Since there is a fairly large API surface concerning datatypes, further changes or the limitation certain function to currently existing datatypes is |