[Twisted-Python] Clean pb solution for two-way object sync?

2013-09-25 Thread Daniel Sank
(Apologies for double send but I forgot the subject line) Dear Twisted users, I recently found myself implementing a design pattern that I think twisted.pb was specifically designed to address. I think I'm not using pb correctly so I'd like advice. This is a somewhat longish post because I need t

[Twisted-Python] (no subject)

2013-09-25 Thread Daniel Sank
Dear Twisted users, I recently found myself implementing a design pattern that I think twisted.pb was specifically designed to address. I think I'm not using pb correctly so I'd like advice. This is a somewhat longish post because I need to describe the problem I'm trying to solve. I have done in

Re: [Twisted-Python] Twisted Sprint Report (2013-09-23)

2013-09-25 Thread Hynek Schlawack
>> * Dev Requirements >> It would be nice to have a dev-requirements.txt file so that they >> could easily install the necessary development tools. pydoctor, >> coverage, nevow, zope.interface, twistedchecker, etc >> See: >> * https://github.com/hynek/structlog/blob/master/dev-requirements.txt > >

Re: [Twisted-Python] Running unit tests without trial?

2013-09-25 Thread Russell E. Owen
In article <20130925184544.26068.1404349410.divmod.xquotient.2424@top>, exar...@twistedmatrix.com wrote: > On 06:15 pm, ro...@uw.edu wrote: > >Is it possible to run twisted.trial unit tests using python instead of > >trial, i.e.: "python mytest.py" instead of "trial mytest.py"? > > Sure. Here'

Re: [Twisted-Python] Running unit tests without trial?

2013-09-25 Thread Julian Berman
On Wed, 25 Sep 2013 18:45:44 - exar...@twistedmatrix.com wrote: > On 06:15 pm, ro...@uw.edu wrote: > >Is it possible to run twisted.trial unit tests using python instead of > >trial, i.e.: "python mytest.py" instead of "trial mytest.py"? > > Sure. Here's the worst case answer (contents of myt

Re: [Twisted-Python] Twisted Sprint Report (2013-09-23)

2013-09-25 Thread Glyph
On Sep 24, 2013, at 1:39 PM, Richard Wall wrote: > On 24 September 2013 14:07, wrote: > >> Woo. Hope you guys had fun. Thanks for the report, Richard. > > Yep, it was a good day. > > There were a few things that could have gone better. Here are a few thoughts. Thanks for writing this up.

Re: [Twisted-Python] Running unit tests without trial?

2013-09-25 Thread exarkun
On 06:15 pm, ro...@uw.edu wrote: Is it possible to run twisted.trial unit tests using python instead of trial, i.e.: "python mytest.py" instead of "trial mytest.py"? Sure. Here's the worst case answer (contents of mytest.py): import os os.system("trial myrealtests.py") By the way, it'

[Twisted-Python] Running unit tests without trial?

2013-09-25 Thread Russell E. Owen
Is it possible to run twisted.trial unit tests using python instead of trial, i.e.: "python mytest.py" instead of "trial mytest.py"? I'm hoping there is some simple magic I can put into the unit test itself to make this work. Perhaps something in if __name__ == "__main__": ...? to make it st