| 1 |
======================= |
| 2 |
PyPy 1.3: Stabilization |
| 3 |
======================= |
| 4 |
|
| 5 |
Hello. |
| 6 |
|
| 7 |
We're please to announce release of PyPy 1.3. This release has two major |
| 8 |
improvements. First of all, we stabilized the JIT compiler since 1.2 release, |
| 9 |
answered user issues, fixed bugs, and generally improved speed. |
| 10 |
|
| 11 |
We're also pleased to announce alpha support for loading CPython extension |
| 12 |
modules written in C. While the main purpose of this release is increased |
| 13 |
stability, this feature is in alpha stage and it is not yet suited for |
| 14 |
production environments. |
| 15 |
|
| 16 |
Highlights of this release |
| 17 |
========================== |
| 18 |
|
| 19 |
* We introduced support for CPython extension modules written in C. As of now, |
| 20 |
this support is in alpha, and it's very unlikely unaltered C extensions will |
| 21 |
work out of the box, due to missing functions or refcounting details. The |
| 22 |
support is disable by default, so you have to do:: |
| 23 |
|
| 24 |
import cpyext |
| 25 |
|
| 26 |
before trying to import any .so file. Also, libraries are source-compatible |
| 27 |
and not binary-compatible. That means you need to recompile binaries, using |
| 28 |
for example:: |
| 29 |
|
| 30 |
python setup.py build |
| 31 |
|
| 32 |
Details may vary, depending on your build system. Make sure you include |
| 33 |
the above line at the beginning of setup.py or put it in your PYTHONSTARTUP. |
| 34 |
|
| 35 |
This is alpha feature. It'll likely segfault. You have been warned! |
| 36 |
|
| 37 |
* JIT bugfixes. A lot of bugs reported for the JIT have been fixed, and its |
| 38 |
stability greatly improved since 1.2 release. |
| 39 |
|
| 40 |
* Various small improvements have been added to the JIT code, as well as a great |
| 41 |
speedup of compiling time. |
| 42 |
|
| 43 |
Cheers, |
| 44 |
Maciej Fijalkowski, Armin Rigo, Alex Gaynor, Amaury Forgeot d'Arc and the PyPy team |