红联Linux门户
Linux帮助

PyPy 2.6.0发布,Python解释器

发布时间:2015-06-02 12:01:12来源:红联作者:empast
PyPy 2.6.0 发布,此版本更新 cffi 至版本 1.1,使得流行的 ctypes-alternative 更容易使用,支持新的 vmprof 统计分析工具。

PyPy 2.6.0 现已提供下载:

http://pypy.org/download.html

PyPY 包括 3 个子项目:

Py3k (支持 Python 3.x)

STM (software transactional memory)

NumPy

值得关注的改进

Python 兼容性:

改进对 TLS 1.1 和 1.2 的支持

Windows 下载现在是一个 pypyw.exe 加一个 pypy.exe

支持 PYTHONOPTIMIZE 环境变量 (impacting builtin’s __debug__ property)

解决了之前版本报告的 issues:https://bitbucket.org/pypy/pypy/issues 或者 IRC at #pypy。

新特性:

Add preliminary support for a new lightweight statistical profiler vmprof, which has been designed to accomodate profiling JITted code

Numpy:

Support for object dtype via a garbage collector hook

Support for .can_cast and .min_scalar_type as well as beginning a refactoring of the internal casting rules

Better support for subtypes, via the __array_interface__, __array_priority__, and __array_wrap__ methods (still a work-in-progress)

Better support for ndarray.flags

性能提升:

Improved IO performance of zlib and bz2 modules

We continue to improve the JIT’s optimizations. Our benchmark suite is now over 7 times faster than cpython

Slight improvement in frame sizes, improving some benchmarks

Internal refactoring and cleanups leading to improved JIT performance

Cheers
The PyPy Team

PyPy 是用Python实现的Python解释器。

PyPy是,Python开发者为了更好的Hack Python创建的项目。此外,PyPy比CPython是更加灵活,易于使用和试验,以制定具体的功能在不同情况的实现方法,可以很容易实施。 该项目的目标是,让PyPy比C实现的Python更为容易的适应各个项目和方便裁剪。

软件详情:http://morepypy.blogspot.jp/2015/06/pypy-260-release.html

来自:开源中国社区
文章评论

共有 0 条评论