Re: [Twisted-Python] strange exception on Python 2.6 + Snow Leopard

2009-08-31 Thread Phil Christensen
On Aug 31, 2009, at 3:47 PM, Steve Steiner (listsin) wrote: > On Aug 31, 2009, at 3:36 PM, Phil Christensen wrote: >> hey all, >> >> I just upgraded to Mac OS X 10.6 which includes Python 2.6.1. I'm >> running the latest SVN HEAD of Twisted, but when I run twistd I get >> an >> exception before i

Re: [Twisted-Python] strange exception on Python 2.6 + Snow Leopard

2009-08-31 Thread Steve Steiner (listsin)
On Aug 31, 2009, at 3:36 PM, Phil Christensen wrote: > hey all, > > I just upgraded to Mac OS X 10.6 which includes Python 2.6.1. I'm > running the latest SVN HEAD of Twisted, but when I run twistd I get an > exception before it continues working (apparently) normally. Here's > what I'm seeing: >

[Twisted-Python] strange exception on Python 2.6 + Snow Leopard

2009-08-31 Thread Phil Christensen
hey all, I just upgraded to Mac OS X 10.6 which includes Python 2.6.1. I'm running the latest SVN HEAD of Twisted, but when I run twistd I get an exception before it continues working (apparently) normally. Here's what I'm seeing: thrawn:~ phil$ twistd Traceback (most recent call last):

Re: [Twisted-Python] TDD using Trial

2009-08-31 Thread Paul Hubbard
I also found this quite helpful in writing StringIO tests - http://twistedmatrix.com/trac/browser/branches/trial-tutorial-2443-2/doc/core/howto/trial.xhtml My code is nowhere near the standards of Twisted yet, but FWIW here's what I came up with: http://amoeba.ucsd.edu:82/?p=attribute_store.g