summaryrefslogtreecommitdiff
path: root/doc/release/1.8.0-notes.rst
blob: 764b9683ae105f32b336f9b253fedd3d459e0856 (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
=========================
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.

Forcing the old, one file per extension build may be enabled by exporting the
shell variable NPY_SEPARATE_COMPILATION=0.

New features
============

Euler's constant is now exposed in numpy as euler_gamma.



Changes
=======

General
-------

The so-called 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
-----