summaryrefslogtreecommitdiff
path: root/doc/release/1.3.0-notes.rst
blob: 0918af547b12e188baec909d321613ddc1606447 (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
=========================
NumPy 1.3.0 Release Notes
=========================

This minor release comes almost four months after the 1.1.0 release.

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

Python 2.6 support
~~~~~~~~~~~~~~~~~~

http://www.python.org/dev/peps/pep-0361/

Generalized ufuncs
~~~~~~~~~~~~~~~~~~

http://projects.scipy.org/scipy/numpy/ticket/887

Histogram
~~~~~~~~~

The semantics of histogram has been modified to fix long-standing issues
with outliers handling. The main changes concern

#. the definition of the bin edges, now including the rightmost edge, and
#. the handling of upper outliers, now ignored rather than tallied in the
   rightmost bin.

The previous behavior is still accessible using `new=False`, but is scheduled
to be deprecated in the next release (1.3).

Masked arrays
~~~~~~~~~~~~~

TODO

gfortran support on windows (32 and 64 bits)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Gfortran can now be used as a fortran compiler for numpy, even when the C
compiler is Visual Studio.

Documentation changes
=====================

Internal changes
================

Refactoring numpy.core math configuration
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

This should make the porting to new platforms easier, and more robust. In
particular, the configuration stage does not need to execute any code on the
target platform, which is a first step toward cross-compilation.

http://projects.scipy.org/scipy/numpy/browser/trunk/doc/neps/math_config_clean.txt

Improvements to build warnings
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Numpy can now build with -W -Wall without warnings.

http://projects.scipy.org/scipy/numpy/browser/trunk/doc/neps/warnfix.txt

Separate core math library
~~~~~~~~~~~~~~~~~~~~~~~~~~

The core math functions (sin, cos, etc... for basic C types) have been put into
a separate library. The library includes platform-specific fixes for various
maths functions, such as using those versions should be more robust than using
your platform functions directly. The API for existing functions is exactly the
same as the C99 math functions API, except they are prefixed with npy_.