Sunday, April 3, 2011

Twisted 11.0.0 released!

<lvh> PAS MAINTENANT CHEF! CHUIS EN TRAIN DE BRANCHER LE REACTEURRRRR


On behalf of Twisted Matrix Laboratories, I am honored to announce the release of Twisted 11.0.0.


Highlights include:

  • a new templating system in Twisted Web, "twisted.web.template", derived from Divmod Nevow.
  • improved behavior of subprocess spawning on FreeBSD.
  • the 'twistd mail' plugin now uses the endpoints API, providing a more consistent command line and compatibility with endpoint plugins.
  • twisted.plugin no longer emits a confusing traceback when it can't write a cache file.

and numerous other bugfixes and documentation improvements. For more information, see the NEWS file.


Download it now from:


<http://twistedmatrix.com/>


or install the 'Twisted' package from PyPI.


Many thanks to Glyph Lefkowitz and Jean-Paul Calderone for sanity-checking the pre-releases and release, and to the enthusiastic PyCon 2011 sprinters who annihilated dozens of tickets. Thanks to *everyone* who contributed tickets, patches, documentation, reviews, buildbots, feedback, and assistance to fellow users and developers leading up to this release. It is truly a group effort.


<http://twistedmatrix.com/highscores/?time=2011-03-01>


is a testament to how much work was done in March alone.

Monday, March 28, 2011

March (post PyCon) Twisted Sprint Report

We held a small but productive and successful Twisted sprint, kindly hosted once again by tenth, and attended by glyph, exarkun, jesstess and lewq.

The aim of the sprint was to do the first pre-release of Twisted 11.0 - and we managed to resolve almost all of the blocking tickets, so a partial success. :-)

One of the two main themes of the work was the twisted.web templating code, which got tidied up and properly documented - there's a new tutorial (temporarily available at http://buildbot.twistedmatrix.com/builds/sphinx-html/291-15849/projects/web/howto/twisted-templates.html), which demonstrates this neat little templating engine in action. The other theme was completing and merging the file descriptor closing branch which exarkun and lewq worked on, bringing FreeBSD just a few test-fixes away from being a fully supported platform - and importantly stopped the FreeBSD builder hanging on testing trunk, which will help catch regressions.

The following tickets got closed:

#4968 - Resource templating documentation has broken link to twisted.web.server.Resource which emphatically does not exist
#4881 - twisted.internet.process._listOpenFDs fails on FreeBSD because fdescfs isn't mounted by default
#4732 - Document @withRequest XML-RPC feature in the XML-RPC howto

And the following tickets got worked on:

#4854 - Replace the implementation of IReactorSSL with one based on twisted.protocols.tls
#3690 - SerialPort never calls connectionLost(reason)
#4969 - Add CONNECT support to HTTP client
#4951 - links in twisted.web docs are broken

That's it until next time, enjoy Twisted 11.0 when it comes out! We still have the PyCon sprint to report on, watch for that soon.

Tuesday, March 22, 2011

Twisted 11.0.0pre1 released -- please test

Intrepid Twisted developers and users: from Cambridge, Massachusetts I am pleased to announce the arrival of Twisted 11.0.0 pre-release 1.

Please download the pre-release tarballs and test away!

Highlights include:


  • a new templating system in Twisted Web, "twisted.web.template", derived from Divmod Nevow.
  • improved behavior of subprocess spawning on FreeBSD.
  • the 'twistd mail' plugin now uses the endpoints API, providing a more consistent command line and compatibility with endpoint plugins.
  • twisted.plugin no longer emits a confusing traceback when it can't write a cache file.
For more information, see the NEWS file.

Sunday, March 20, 2011

Super Late February Twisted Sprint Report

Good news everyone,

Last month, Twisted held another very successful sprint.  A late write-up is better than no write-up, so here's what went on.

In attendance were Glyph, Tenth, Itamar, Mike Handverger, Luke, and myself (Jean-Paul).  Remotely, Jonathan J. and Stephen Thorne helped out.  Quite a few tickets were worked on, and various reviews were done as well.  Here's a list (bold indicates now closed):

#2036 - trial runs tests from .pyc files even if there is no .py file
#3834 - TCP client howto missing reactor.run() in one code sample#3844 - Parse IRC format codes
#3948 - wxdemo.py does not exit
#4008 - Most examples in documentation do not log messages and errors
#4520 - pb.CopiedFailure.throwExceptionIntoGenerator breaks in Python 2.6.
#4817 - IPv4Address and UNIXAddress not-equal comparison is broken
#4823 - Clock should re-sort pending calls when one of them is reset
#4836 - Make _getFunction method public in t.w.xmlrpc.XMLRPC
#4864 - Improve lore2sphinx buildbot results for `projects/core/howto/logging.xhtml`
 #4865 - Improve lore2sphinx buildbot results for `projects/core/howto/quotes.xhtml`

As I'm writing up this report at the March Twisted Sprint, look forward to another one of these real soon now. :)

Monday, January 24, 2011

Unclaimed PayPal donations

Hello Twisted supporters,

If you recently tried to donate money to the Twisted Software Foundation using PayPal, then you might find that your donation has gone "unclaimed".  This is due to an unfortunate mixup in our PayPal address.  If you have a donation in this state, you should cancel it; we have no way to claim it.

If you'd like to donate, use the PayPal form on http://twistedmatrix.com/. We've updated it so future donations will go to the right place.  If you'd rather use Google Checkout, the form for donating with that service is also still available in the same place.

Tuesday, January 18, 2011

January Twisted Sprint Report

Our highly productive Sunday Somerville sprint was attended by glyph, cyli, tpratt, tenth, itamar, mesozoic and myself (exarkun).  Also sprinting remotely were thijs, spiv, and magcius.  All told, we closed twelve tickets:


#3372 deprecate --extra option to trial
#3412 Include link to IMAP Server Tester in Twisted IMAP documentation
#4042 [Documentation] It is too hard to figure out how to do trivial common-case sending email with twisted.mail
#4054 Delete all of the out-of-date mumbo jumbo from the "im" howto
#4438 Declare dependencies explicitly when we add them
#4491 Release Twisted 10.0.1
#4547 Remove deprecated twisted.protocols.loopback.loopback
#4712 Missing bits of statinfo accessors in FilePath
#4738 ckeygen man page has wrong summary and synopsis
#4740 Use strcred for `twistd mail` authentication options
#4773 The core howto index should link to the endpoints howto
#4786 twcgi duplicate header

More tickets were also worked on and reviewed but not quite yet ready to close:

#4317 twisted.web.http.Request allows you to write to a finished request.
#3896 Passing a unicode object to request.write corrupts the entire response
#4796 twistd mail plugin esmtp problem
#4760 HTTPPageGetter shouldn't make two requests with an afterFoundGet
#4632 ability to cascade canceling inlineCallbacks's deferred
#3077 twistd --help plugin list isn't alphabetized

There was also a lively discussion about plans for the future support of Twisted on Windows.  If you're interested in Windows networking, keep an eye out for an upcoming announcement on that topic!

Once again we were lucky enough to have tenth host the sprint, so in addition to shelter from the frozen terrorscape scant meters away, sprinters also enjoyed delicious fresh baked bread and other tasty morsels.

If you couldn't make it to this sprint, watch for an announcement of the next one sometime soon.  Or join us at PyCon for as many as four days of Twisted hacking!

Thursday, December 9, 2010

Making chat hipper with Twisted!

HipChat has been changing what it means to communicate in teams of any size and taking the world by storm over the past 12 months. What you may not know is that Twisted is at the core of HipChat's highly successful service:

HipChat is a hosted group chat and IM service for businesses which uses the XMPP protocol behind the scenes. We use Twisted to power our fully clustered chat server and run many important job queue workers.

Bottom line: we built and launched a successful business on Twisted & Python in 6 months with no prior knowledge of either. It's a very productive environment with great performance and maintainability. What more could you want?

    – Garret Heaton, Co-founder, HipChat

To learn more about how HipChat uses Twisted check out the success story!