blob: 1750b5d14c94b5a362d3f27923228eb4f345c04e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
|
=========================
NumPy 1.8.0 Release Notes
=========================
This release supports Python 2.6 -2.7 and 3.1 - 3.3.
Highlights
==========
Dropped Support
===============
Support for Python versions 2.4 and 2.5 has been dropped,
Support for SCons has been removed.
Compatibility notes
===================
numpy.diag, np.diagonal, and the diagonal method of ndarrays return a view
onto the original array, instead of producing a copy.
selecting multiple fields out of an array also produces a view.
The hash function of numpy.void scalars has been changed. Previously the
pointer to the data was hashed as an integer. Now, the hash function uses
the tuple-hash algorithm to combine the hash functions of the elements of
the scalar, but only if the scalar is read-only.
Numpy has switched its build system to using 'separate compilation' by
default. In previous releases this was supported, but not default. This
should produce the same results as the old system, but if you're trying to
do something complicated like link numpy statically or using an unusual
compiler, then it's possible you will encounter problems. If so, please
file a bug and as a temporary workaround you can re-enable the old build
system by exporting the shell variable NPY_SEPARATE_COMPILATION=0.
For the AdvancedNew iterator the ``oa_ndim`` flag should now be -1 to indicate
that no ``op_axes`` and ``itershape`` are passed in. The ``oa_ndim == 0``
case, now indicates a 0-D iteration and ``op_axes`` being NULL and the old
usage is deprecated. This does not effect the ``NpyIter_New`` or
``NpyIter_MultiNew`` functions.
New features
============
Euler's constant is now exposed in numpy as euler_gamma.
Changes
=======
General
-------
The function np.take now allows 0-d arrays as indices.
The separate compilation mode is now enabled by default.
Deprecations
============
General
-------
Use of non-integer indices has been deprecated. Previously float indices
were truncated to integers without warning.
C-API
-----
|