Quelques nouvelles de python: jython2.5 et Django, Python2.6 sur NaCl (Native Client), PyPy 1.1, Ironpython 2.6
Posted by patrick sur juin 21, 2009
- http://mail.python.org/pipermail/python-dev/2009-June/090038.html (‘I have been doing some work to extend Google’s Native Client  to support dynamic linking . For those who haven’t heard of it, Native Client is a sandboxing system for running a subset of x86 code. It is proposed as a way of running native code inside web apps. One of my aims has been to get CPython working in the web browser under Native Client without having to modify CPython. I recently got to the point where modules from the Python standard library are importable under Native Client, including (as a demonstration) the Sqlite extension module. Sqlite also requires no modification – it builds straight from the Debian package. I’ve written a simple REPL to demonstrate Python running in the browser. There are some screenshots on my blog . I haven’t implemented accessing the DOM from Python yet – that’s another project for later. 🙂 Mark)
- http://code.google.com/p/nativeclient/ (‘Native Client is an open-source research technology for running x86 native code in web applications, with the goal of maintaining the browser neutrality, OS portability, and safety that people expect from web apps. We’ve released this project at an early, research stage to get feedback from the security and broader open-source communities. We believe that Native Client technology will someday help web developers to create richer and more dynamic browser-based applications.‘)
- http://plash.beasts.org/wiki/NativeClient (‘Google Native Client (abbreviated as NaCl) is a sandboxing system for running a subset of Intel x86 native code using software-based fault isolation. It is proposed for safely running native code from a web browser, allowing web-based applications to run at near-native speeds…In order to make it easier to run GNU/Linux programs under NaCl, and to run programs that require dynamic linking, I am porting glibc to NaCl. The port is at the stage where it can run simple statically-linked and dynamically-linked programs, both from the command line and from the web browser. It can run Python 2.6; no changes to Python were required.’)
- http://nativeclient.googlecode.com/svn/trunk/nacl/googleclient/native_client/documentation/building.html (‘Thanks to SCons, you use the same basic commands to build on all platforms. …If you followed the instructions in Getting Started, you should already have the right version of Python. The summary: Use Python 2.4 or 2.5 (possibly 2.6), don’t use the Cygwin version of Python, and avoid spaces in the path to
python. For further details, see Get the software and the details page for your platform (Linux, Mac, or Windows’)
- http://fwierzbicki.blogspot.com/2009/06/jython-250-final-is-out.html (‘…On behalf of the Jython development team, I’m pleased to announce that Jython 2.5.0 final is available for download. See the installation instructions. Jython 2.5.0 brings us up to language level compatibility with the 2.5 version of CPython. This release has had a strong focus on CPython compatibility, and so this release of Jython can run more pure Python apps then any previous release. Please see the NEWS file for detailed release notes.
- I want to thank all of the amazing people who have contributed in large and small ways to this important Jython release. For the first time in a long time we have Jython that is a modern version of Python. Enjoy!…‘)
- http://docs.djangoproject.com/en/dev/howto/jython/ (‘Jython is an implementation of Python that runs on the Java platform (JVM). Django runs cleanly on Jython version 2.5 or later, which means you can deploy Django on any Java platform….The django-jython project contains database backends and management commands for Django/Jython development. Note that the builtin Django backends won’t work on top of Jython.To install it, follow the installation instructions detailed on the project website. Also, read the database backends documentation there.‘)
- http://codespeak.net/pipermail/pypy-dev/2009q2/005222.html (‘Welcome to the PyPy 1.1 release – the first release after the end of EU funding. This release focuses on making PyPy’s Python interpreter more compatible with CPython (currently CPython 2.5) and on making the interpreter more stable and bug-free. Through a large number of tweaks, performance has been improved by 10%-50% since the 1.0 release. The Python interpreter is now between 0.8-2x (and in some corner case 3-4x) slower than CPython. A large part of these speed-ups come from our new generational garbage collectors. Our Python interpreter now supports distutils as well as easy_install for pure-Python modules. – We have tested PyPy with a number of third-party libraries. PyPy can run now: Django, Pylons, BitTorrent, Twisted, SymPy, Pyglet, Nevow, Pinax… The « clr« module was greatly improved. This module is used to interface with .NET libraries when translating the Python interpreter to the CLI. PyPy’s Python interpreter can be translated to Java bytecode now to produce a pypy-jvm. At the moment there is no integration with Java libraries yet, so this is not really useful
- a voir:
- http://lists.ironpython.com/pipermail/users-ironpython.com/2009-May/010391.html (‘ Hello Python Community,We’re quite pleased to announce the release of « IronPython 2.6 CTP for .NET 4.0 Beta 1 ». This is our second preview of IronPython running under the Dynamic Language Runtime that is built directly into a .NET 4.0 release! As before, this release allows you to use IronPython objects and types as .NET 4.0 dynamic objects from within C# and Visual Basic code. While this release does share a bit in common with the upcoming IronPython 2.6 Beta 1 release (e.g., a number of MSI improvements), the core functionality is essentially that of IronPython 2.6 Alpha 1. Please also note that « IronPython 2.6 CTP for .NET 4.0 Beta 1 » will run only under .NET 4.0 Beta 1.