| 1 |
======================== |
| 2 |
What's new in PyPy 2.5.0 |
| 3 |
======================== |
| 4 |
|
| 5 |
.. this is a revision shortly after release-2.4.x |
| 6 |
.. startrev: 7026746cbb1b |
| 7 |
|
| 8 |
.. branch: win32-fixes5 |
| 9 |
|
| 10 |
Fix c code generation for msvc so empty "{ }" are avoided in unions, |
| 11 |
Avoid re-opening files created with NamedTemporaryFile, |
| 12 |
Allocate by 4-byte chunks in rffi_platform, |
| 13 |
Skip testing objdump if it does not exist, |
| 14 |
and other small adjustments in own tests |
| 15 |
|
| 16 |
.. branch: rtyper-stuff |
| 17 |
|
| 18 |
Small internal refactorings in the rtyper. |
| 19 |
|
| 20 |
.. branch: var-in-Some |
| 21 |
|
| 22 |
Store annotations on the Variable objects, rather than in a big dict. |
| 23 |
Introduce a new framework for double-dispatched annotation implementations. |
| 24 |
|
| 25 |
.. branch: ClassRepr |
| 26 |
|
| 27 |
Refactor ClassRepr and make normalizecalls independent of the rtyper. |
| 28 |
|
| 29 |
.. branch: remove-remaining-smm |
| 30 |
|
| 31 |
Remove all remaining multimethods. |
| 32 |
|
| 33 |
.. branch: improve-docs |
| 34 |
|
| 35 |
Split RPython documentation from PyPy documentation and clean up. There now is |
| 36 |
a clearer separation between documentation for users, developers and people |
| 37 |
interested in background information. |
| 38 |
|
| 39 |
.. branch: kill-multimethod |
| 40 |
|
| 41 |
Kill multimethod machinery, all multimethods were removed earlier. |
| 42 |
|
| 43 |
.. branch nditer-external_loop |
| 44 |
|
| 45 |
Implement `external_loop` argument to numpy's nditer |
| 46 |
|
| 47 |
.. branch kill-rctime |
| 48 |
|
| 49 |
Rename pypy/module/rctime to pypy/module/time, since it contains the implementation of the 'time' module. |
| 50 |
|
| 51 |
.. branch: ssa-flow |
| 52 |
|
| 53 |
Use SSA form for flow graphs inside build_flow() and part of simplify_graph() |
| 54 |
|
| 55 |
.. branch: ufuncapi |
| 56 |
|
| 57 |
Implement most of the GenericUfunc api to support numpy linalg. The strategy is |
| 58 |
to encourage use of pure python or cffi ufuncs by extending frompyfunc(). |
| 59 |
See the docstring of frompyfunc for more details. This dovetails with a branch |
| 60 |
of pypy/numpy - cffi-linalg which is a rewrite of the _umath_linalg module in |
| 61 |
python, calling lapack from cffi. The branch also support traditional use of |
| 62 |
cpyext GenericUfunc definitions in c. |
| 63 |
|
| 64 |
.. branch: all_ordered_dicts |
| 65 |
|
| 66 |
This makes ordered dicts the default dictionary implementation in |
| 67 |
RPython and in PyPy. It polishes the basic idea of rordereddict.py |
| 68 |
and then fixes various things, up to simplifying |
| 69 |
collections.OrderedDict. |
| 70 |
|
| 71 |
Note: Python programs can rely on the guaranteed dict order in PyPy |
| 72 |
now, but for compatibility with other Python implementations they |
| 73 |
should still use collections.OrderedDict where that really matters. |
| 74 |
Also, support for reversed() was *not* added to the 'dict' class; |
| 75 |
use OrderedDict. |
| 76 |
|
| 77 |
Benchmark results: in the noise. A few benchmarks see good speed |
| 78 |
improvements but the average is very close to parity. |
| 79 |
|
| 80 |
.. branch: berkerpeksag/fix-broken-link-in-readmerst-1415127402066 |
| 81 |
.. branch: bigint-with-int-ops |
| 82 |
.. branch: dstufft/update-pip-bootstrap-location-to-the-new-1420760611527 |
| 83 |
.. branch: float-opt |
| 84 |
.. branch: gc-incminimark-pinning |
| 85 |
|
| 86 |
This branch adds an interface rgc.pin which would (very temporarily) |
| 87 |
make object non-movable. That's used by rffi.alloc_buffer and |
| 88 |
rffi.get_nonmovable_buffer and improves performance considerably for |
| 89 |
IO operations. |
| 90 |
|
| 91 |
.. branch: gc_no_cleanup_nursery |
| 92 |
|
| 93 |
A branch started by Wenzhu Man (SoC'14) and then done by fijal. It |
| 94 |
removes the clearing of the nursery. The drawback is that new objects |
| 95 |
are not automatically filled with zeros any longer, which needs some |
| 96 |
care, mostly for GC references (which the GC tries to follow, so they |
| 97 |
must not contain garbage). The benefit is a quite large speed-up. |
| 98 |
|
| 99 |
.. branch: improve-gc-tracing-hooks |
| 100 |
.. branch: improve-ptr-conv-error |
| 101 |
.. branch: intern-not-immortal |
| 102 |
|
| 103 |
Fix intern() to return mortal strings, like in CPython. |
| 104 |
|
| 105 |
.. branch: issue1922-take2 |
| 106 |
.. branch: kill-exported-symbols-list |
| 107 |
.. branch: kill-rctime |
| 108 |
.. branch: kill_ll_termios |
| 109 |
.. branch: look-into-all-modules |
| 110 |
.. branch: nditer-external_loop |
| 111 |
.. branch: numpy-generic-item |
| 112 |
.. branch: osx-shared |
| 113 |
|
| 114 |
``--shared`` support on OS/X (thanks wouter) |
| 115 |
|
| 116 |
.. branch: portable-threadlocal |
| 117 |
.. branch: pypy-dont-copy-ops |
| 118 |
.. branch: recursion_and_inlining |
| 119 |
.. branch: slim-down-resumedescr |
| 120 |
.. branch: squeaky/use-cflags-for-compiling-asm |
| 121 |
.. branch: unicode-fix |
| 122 |
.. branch: zlib_zdict |
| 123 |
|
| 124 |
.. branch: errno-again |
| 125 |
|
| 126 |
Changes how errno, GetLastError, and WSAGetLastError are handled. |
| 127 |
The idea is to tie reading the error status as close as possible to |
| 128 |
the external function call. This fixes some bugs, both of the very |
| 129 |
rare kind (e.g. errno on Linux might in theory be overwritten by |
| 130 |
mmap(), called rarely during major GCs, if such a major GC occurs at |
| 131 |
exactly the wrong time), and some of the less rare kind |
| 132 |
(particularly on Windows tests). |
| 133 |
|
| 134 |
.. branch: osx-package.py |
| 135 |
.. branch: package.py-helpful-error-message |
| 136 |
|
| 137 |
.. branch: typed-cells |
| 138 |
|
| 139 |
Improve performance of integer globals and class attributes. |