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. :)