Feed Sign in with OpenID OpenID

Simon Willison’s Weblog

What's New in Python 2.6 (via) Python 2.6 final has been released (the last 2.x version before 3.0). multiprocessing and simplejson (as json) are now in the standard library, any backwards compatible 3.0 features have been added and the official docs are now powered by Sphinx (used by Django 1.0 as well). There’s plenty more.

10 comments

  1. I cant wait for py3k now. and when ubuntu ships with it :D

    Andreas - 2nd October 2008 13:00 - #

  2. I assume the version of simplejson including in Python 2.6 is the recently released 2.0.1. Is that correct?

    MrChucho - 2nd October 2008 14:35 - #

  3. Why do you think it is the last 2.x release ?

    Andrey - 2nd October 2008 16:00 - #

  4. According to http://www.python.org/dev/peps/pep-0361/ Python 2.6 final is scheduled to come out two weeks before 3.0 final. I don't know if there are any plans for a 2.7, but I seem to remember hearing that there aren't (though there will certainly be several 2.6.x releases).

    Simon Willison - 2nd October 2008 16:43 - #

  5. Awesome, I'd better start upgrading all my code :D

    Jason Davies - 2nd October 2008 17:46 - #

  6. According to the Django developers mailing list (http://groups.google.com/group/django-developers/b rowse_thread/thread/a48f81d916f24a04 ), Python 2.6 is compatible with Django 1.0. Does Python 2.6 support all the database APIs? (I'm specifically interested in the MySQL API.)

    sofeng - 2nd October 2008 20:14 - #

  7. According to http://bob.pythonmac.org/archives/2008/10/02/pytho n-26-released-now-with-json/ the recent simplejson speed improvements didn't make it in to Python 2.6, but should get in to 2.6.1.

    Simon Willison - 2nd October 2008 21:12 - #

  8. umm...
    multiprocessing?
    does it means that python can take advantage of the multiprocessors now?

    sean - 3rd October 2008 02:14 - #

  9. 2.6 is not going to be the last release in the 2.x series. Since we are not expecting 3.0 to be necessarily feature-stable (3.1 should be), we need another 2.x release for backporting purposes to help people transition.

    Hopefully we will be able to also backport more of 3.0 into 2.6 that we just couldn't get to (e.g. keyword-only arguments).

    Brett - 3rd October 2008 02:59 - #

  10. @sean: i believe that the multiprocessing module is similar to the threading module, except it uses processes rather than treads.

    bees - 6th October 2008 09:13 - #

Sign in with OpenID

Auto-HTML: Line breaks are preserved; URLs will be converted in to links.

Manual XHTML: Enter your own, valid XHTML. Allowed tags are a, p, blockquote, ul, ol, li, dl, dt, dd, em, strong, dfn, code, q, samp, kbd, var, cite, abbr, acronym, sub, sup, br, pre

A django site