Debian Codegraph @

pypy/doc/whatsnew-2.3.0.rst

raw
1 ========================
2 What's new in PyPy 2.2.1
3 ========================
4
5 .. this is a revision shortly after release-2.2.x
6 .. startrev: 4cd1bc8b3111
7
8 .. branch: release-2.2.x
9
10 .. branch: numpy-newbyteorder
11
12 Clean up numpy types, add newbyteorder functionality
13
14 .. branch: windows-packaging
15
16 Package tk/tcl runtime with win32
17
18 .. branch: armhf-singlefloat
19
20 JIT support for singlefloats on ARM using the hardfloat ABI
21
22 .. branch: voidtype_strformat
23
24 Better support for record numpy arrays
25
26 .. branch: osx-eci-frameworks-makefile
27
28 OSX: Ensure frameworks end up in Makefile when specified in External compilation info
29
30 .. branch: less-stringly-ops
31
32 Use subclasses of SpaceOperation instead of SpaceOperator objects.
33 Random cleanups in flowspace and annotator.
34
35 .. branch: ndarray-buffer
36
37 adds support for the buffer= argument to the ndarray ctor
38
39 .. branch: better_ftime_detect2
40
41 On OpenBSD do not pull in libcompat.a as it is about to be removed.
42 And more generally, if you have gettimeofday(2) you will not need ftime(3).
43
44 .. branch: timeb_h
45
46 Remove dependency upon <sys/timeb.h> on OpenBSD. This will be disappearing
47 along with libcompat.a.
48
49 .. branch: OlivierBlanvillain/fix-3-broken-links-on-pypy-published-pap-1386250839215
50
51 Fix 3 broken links on PyPy published papers in docs.
52
53 .. branch: jit-ordereddict
54
55 .. branch: refactor-str-types
56
57 Remove multimethods on str/unicode/bytearray and make the implementations share code.
58
59 .. branch: remove-del-from-generatoriterator
60
61 Speed up generators that don't yield inside try or wait blocks by skipping
62 unnecessary cleanup.
63
64 .. branch: annotator
65
66 Remove FlowObjSpace.
67 Improve cohesion between rpython.flowspace and rpython.annotator.
68
69 .. branch: detect-immutable-fields
70
71 mapdicts keep track of whether or not an attribute is every assigned to
72 multiple times. If it's only assigned once then an elidable lookup is used when
73 possible.
74
75 .. branch: precompiled-headers
76
77 Create a Makefile using precompiled headers for MSVC platforms.
78 The downside is a messy nmake-compatible Makefile. Since gcc shows minimal
79 speedup, it was not implemented.
80
81 .. branch: camelot
82
83 With a properly configured 256-color terminal (TERM=...-256color), the
84 Mandelbrot set shown during translation now uses a range of 50 colours.
85 Essential!
86
87 .. branch: NonConstant
88
89 Simplify implementation of NonConstant.
90
91 .. branch: array-propagate-len
92
93 Kill some guards and operations in JIT traces by adding integer bounds
94 propagation for getfield_(raw|gc) and getarrayitem_(raw|gc).
95
96 .. branch: optimize-int-and
97
98 Optimize away INT_AND with constant mask of 1s that fully cover the bitrange
99 of other operand.
100
101 .. branch: bounds-int-add-or
102
103 Propagate appropriate bounds through INT_(OR|XOR|AND) operations if the
104 operands are positive to kill some guards
105
106 .. branch: remove-intlong-smm
107
108 kills int/long/smalllong/bool multimethods
109
110 .. branch: numpy-refactor
111
112 Cleanup micronumpy module
113
114 .. branch: int_w-refactor
115
116 In a lot of places CPython allows objects with __int__ and __float__ instead of actual ints and floats, while until now pypy disallowed them. We fix it by making space.{int_w,float_w,etc.} accepting those objects by default, and disallowing conversions only when explicitly needed.
117
118 .. branch: test-58c3d8552833
119
120 Fix for getarrayitem_gc_pure optimization
121
122 .. branch: simple-range-strategy
123
124 Implements SimpleRangeListStrategy for case range(n) where n is a positive number.
125 Makes some traces nicer by getting rid of multiplication for calculating loop counter
126 and propagates that n > 0 further to get rid of guards.
127
128 .. branch: popen-pclose
129
130 Provide an exit status for popen'ed RFiles via pclose
131
132 .. branch: stdlib-2.7.6
133
134 Update stdlib to v2.7.6
135
136 .. branch: virtual-raw-store-load
137
138 Support for virtualizing raw_store/raw_load operations
139
140 .. branch: refactor-buffer-api
141
142 Separate the interp-level buffer API from the buffer type exposed to
143 app-level. The `Buffer` class is now used by `W_MemoryView` and
144 `W_Buffer`, which is not present in Python 3. Previously `W_Buffer` was
145 an alias to `Buffer`, which was wrappable itself.
146
147 .. branch: improve-consecutive-dict-lookups
148
149 Improve the situation when dict lookups of the same key are performed in a chain
150
151 .. branch: add_PyErr_SetFromErrnoWithFilenameObject_try_2
152 .. branch: test_SetFromErrnoWithFilename_NULL
153 .. branch: test_SetFromErrnoWithFilename__tweaks
154
155 .. branch: refactor_PyErr_SetFromErrnoWithFilename
156
157 Add support for PyErr_SetFromErrnoWithFilenameObject to cpyext
158
159 .. branch: win32-fixes4
160
161 fix more tests for win32
162
163 .. branch: latest-improve-doc
164
165 Fix broken links in documentation
166
167 .. branch: ast-issue1673
168
169 fix ast classes __dict__ are always empty problem and fix the ast deepcopy issue when
170 there is missing field
171
172 .. branch: issue1514
173
174 Fix issues with reimporting builtin modules
175
176 .. branch: numpypy-nditer
177
178 Implement the core of nditer, without many of the fancy flags (external_loop, buffered)
179
180 .. branch: numpy-speed
181
182 Separate iterator from its state so jit can optimize better
183
184 .. branch: numpy-searchsorted
185
186 Implement searchsorted without sorter kwarg
187
188 .. branch: openbsd-lib-prefix
189
190 add 'lib' prefix to link libraries on OpenBSD
191
192 .. branch: small-unroll-improvements
193
194 Improve optimization of small allocation-heavy loops in the JIT
195
196 .. branch: reflex-support
197
198 .. branch: asmosoinio/fixed-pip-installation-url-github-githu-1398674840188
199
200 .. branch: lexer_token_position_class
201
202 .. branch: refactor-buffer-api
203
204 Properly implement old/new buffer API for objects and start work on replacing bufferstr usage
205
206 .. branch: issue1430
207
208 Add a lock for unsafe calls to gethostbyname and gethostbyaddr
209
210 .. branch: fix-tpname
211
212 Changes hacks surrounding W_TypeObject.name to match CPython's tp_name
213
214 .. branch: tkinter_osx_packaging
215
216 OS/X specific header path