| 1 |
====================== |
| 2 |
What's new in PyPy 1.9 |
| 3 |
====================== |
| 4 |
|
| 5 |
.. this is the revision just after the creation of the release-1.8.x branch |
| 6 |
.. startrev: a4261375b359 |
| 7 |
|
| 8 |
.. branch: default |
| 9 |
|
| 10 |
Working hash function for numpy types. |
| 11 |
|
| 12 |
.. branch: array_equal |
| 13 |
|
| 14 |
.. branch: better-jit-hooks-2 |
| 15 |
|
| 16 |
Improved jit hooks |
| 17 |
|
| 18 |
.. branch: faster-heapcache |
| 19 |
|
| 20 |
.. branch: faster-str-decode-escape |
| 21 |
|
| 22 |
.. branch: float-bytes |
| 23 |
|
| 24 |
Added some primitives for dealing with floats as raw bytes. |
| 25 |
|
| 26 |
.. branch: float-bytes-2 |
| 27 |
|
| 28 |
Added more float byte primitives. |
| 29 |
|
| 30 |
.. branch: jit-frame-counter |
| 31 |
|
| 32 |
Put more debug info into resops. |
| 33 |
|
| 34 |
.. branch: kill-geninterp |
| 35 |
|
| 36 |
Kill "geninterp", an old attempt to statically turn some fixed |
| 37 |
app-level code to interp-level. |
| 38 |
|
| 39 |
.. branch: kqueue |
| 40 |
|
| 41 |
Finished select.kqueue. |
| 42 |
|
| 43 |
.. branch: kwargsdict-strategy |
| 44 |
|
| 45 |
Special dictionary strategy for dealing with \*\*kwds. Now having a simple |
| 46 |
proxy ``def f(*args, **kwds): return x(*args, **kwds)`` should not make |
| 47 |
any allocations at all. |
| 48 |
|
| 49 |
.. branch: matrixmath-dot |
| 50 |
|
| 51 |
numpypy can now handle matrix multiplication. |
| 52 |
|
| 53 |
.. branch: merge-2.7.2 |
| 54 |
|
| 55 |
The stdlib was updated to version 2.7.2 |
| 56 |
|
| 57 |
.. branch: ndmin |
| 58 |
|
| 59 |
.. branch: newindex |
| 60 |
|
| 61 |
.. branch: non-null-threadstate |
| 62 |
|
| 63 |
cpyext: Better support for PyEval_SaveThread and other PyTreadState_* |
| 64 |
functions. |
| 65 |
|
| 66 |
.. branch: numppy-flatitter |
| 67 |
|
| 68 |
flatitier for numpy |
| 69 |
|
| 70 |
.. branch: numpy-back-to-applevel |
| 71 |
|
| 72 |
reuse more of original numpy |
| 73 |
|
| 74 |
.. branch: numpy-concatenate |
| 75 |
|
| 76 |
concatenation support for numpy |
| 77 |
|
| 78 |
.. branch: numpy-indexing-by-arrays-bool |
| 79 |
|
| 80 |
indexing by bool arrays |
| 81 |
|
| 82 |
.. branch: numpy-record-dtypes |
| 83 |
|
| 84 |
record dtypes on numpy has been started |
| 85 |
|
| 86 |
.. branch: numpy-single-jitdriver |
| 87 |
|
| 88 |
.. branch: numpy-ufuncs2 |
| 89 |
|
| 90 |
.. branch: numpy-ufuncs3 |
| 91 |
|
| 92 |
various refactorings regarding numpy |
| 93 |
|
| 94 |
.. branch: numpypy-issue1137 |
| 95 |
|
| 96 |
.. branch: numpypy-out |
| 97 |
|
| 98 |
The "out" argument was added to most of the numypypy functions. |
| 99 |
|
| 100 |
.. branch: numpypy-shape-bug |
| 101 |
|
| 102 |
.. branch: numpypy-ufuncs |
| 103 |
|
| 104 |
.. branch: pytest |
| 105 |
|
| 106 |
.. branch: safe-getargs-freelist |
| 107 |
|
| 108 |
CPyext improvements. For example PyOpenSSL should now work |
| 109 |
|
| 110 |
.. branch: set-strategies |
| 111 |
|
| 112 |
Sets now have strategies just like dictionaries. This means a set |
| 113 |
containing only ints will be more compact (and faster) |
| 114 |
|
| 115 |
.. branch: speedup-list-comprehension |
| 116 |
|
| 117 |
The simplest case of list comprehension is preallocating the correct size |
| 118 |
of the list. This speeds up select benchmarks quite significantly. |
| 119 |
|
| 120 |
.. branch: stdlib-unification |
| 121 |
|
| 122 |
The directory "lib-python/modified-2.7" has been removed, and its |
| 123 |
content merged into "lib-python/2.7". |
| 124 |
|
| 125 |
.. branch: step-one-xrange |
| 126 |
|
| 127 |
The common case of a xrange iterator with no step argument specified |
| 128 |
was somewhat optimized. The tightest loop involving it, |
| 129 |
sum(xrange(n)), is now 18% faster on average. |
| 130 |
|
| 131 |
.. branch: string-NUL |
| 132 |
|
| 133 |
PyPy refuses filenames with chr(0) characters. This is implemented in |
| 134 |
RPython which can enforce no-NUL correctness and propagation, similar |
| 135 |
to const-correctness in C++. |
| 136 |
|
| 137 |
.. branch: win32-cleanup |
| 138 |
.. branch: win32-cleanup2 |
| 139 |
.. branch: win32-cleanup_2 |
| 140 |
|
| 141 |
Many bugs were corrected for windows 32 bit. New functionality was added to |
| 142 |
test validity of file descriptors, leading to the removal of the global |
| 143 |
_invalid_parameter_handler |
| 144 |
|
| 145 |
.. branch: win32-kill |
| 146 |
|
| 147 |
Add os.kill to windows even if translating python does not have os.kill |
| 148 |
|
| 149 |
.. branch: win_ffi |
| 150 |
|
| 151 |
Handle calling conventions for the _ffi and ctypes modules |
| 152 |
|
| 153 |
.. branch: win64-stage1 |
| 154 |
|
| 155 |
.. branch: zlib-mem-pressure |
| 156 |
|
| 157 |
Memory "leaks" associated with zlib are fixed. |
| 158 |
|
| 159 |
.. branch: ffistruct |
| 160 |
|
| 161 |
The ``ffistruct`` branch adds a very low level way to express C structures |
| 162 |
with _ffi in a very JIT-friendly way |
| 163 |
|
| 164 |
|
| 165 |
.. "uninteresting" branches that we should just ignore for the whatsnew: |
| 166 |
|
| 167 |
.. branch: exception-cannot-occur |
| 168 |
|
| 169 |
.. branch: sanitize-finally-stack |
| 170 |
|
| 171 |
.. branch: revive-dlltool |
| 172 |
|
| 173 |
(preliminary work for sepcomp) |