On Fri, 10 Apr 2009 10:16:06 -0700, Eric York wrote:
From: Jean-Paul Calderone
Date: April 10, 2009 8:57:19 AM PDT
To: Twisted general discussion
Subject: Re: [Twisted-Python] Fork/Spawn children to accept connections on
the same port.
Reply-To: Twisted general discussion
On Mon, 6 Ap
On Sat, 11 Apr 2009 00:24:37 +0200, luper rouch wrote:
I would like to port my Application API based services to the twistd
plugin interface, to be able to retrieve command line options.
In the existing services, I reimplemented t.a.s.MultiService
startService() and stopService() to do some act
On Fri, 10 Apr 2009 13:10:28 -0400, Greg Taylor wrote:
I guess what I'm getting confused about is how to get my listen server
(MUD server) talking to this IMC client connection. Let's say one of
my player wants to send a message over the IMC (client) connection.
This is done by telnetting into t
2009/4/11 Jean-Paul Calderone :
> On Sat, 11 Apr 2009 00:24:37 +0200, luper rouch
> wrote:
>>
>> I would like to port my Application API based services to the twistd
>> plugin interface, to be able to retrieve command line options.
>>
>> In the existing services, I reimplemented t.a.s.MultiService
On Sat, 11 Apr 2009 19:29:28 +0200, luper rouch wrote:
2009/4/11 Jean-Paul Calderone :
On Sat, 11 Apr 2009 00:24:37 +0200, luper rouch
wrote:
I would like to port my Application API based services to the twistd
plugin interface, to be able to retrieve command line options.
In the existing s
Hi Luper
> "luper" == luper rouch writes:
luper> I have a last question, I put my plugins in a 'twisted/plugins'
luper> subfolder of my project, and running them from the command line
luper> works fine. How can I invoke them in unit tests (I need to be able
luper> to start and stop them), si
On Saturday 11 April 2009 19:42:31 Jean-Paul Calderone wrote:
> They can be imported from "twisted.plugins". For example, if you name your
> "dropin" file foo_plugins.py, then "from twisted.plugins import
> foo_plugins" should work and let you test any code that is part of your
> plugin definition
On Sat, 11 Apr 2009 21:54:08 +0200, Esteve Fernandez
wrote:
On Saturday 11 April 2009 19:42:31 Jean-Paul Calderone wrote:
They can be imported from "twisted.plugins". For example, if you name your
"dropin" file foo_plugins.py, then "from twisted.plugins import
foo_plugins" should work and let
Hi all. I have a bunch of services, which implement a set of interfaces, and I
use a bunch of adapters to turn them into factories, making those services
protocol-independent.
The interface/adapter stuff works great and I'm able to expose those services
to several protocols, without changing a
2009/4/11 Esteve Fernandez :
> On Saturday 11 April 2009 19:42:31 Jean-Paul Calderone wrote:
>> They can be imported from "twisted.plugins". For example, if you name your
>> "dropin" file foo_plugins.py, then "from twisted.plugins import
>> foo_plugins" should work and let you test any code that i
This will probably fall into the too-weird or too-infrequent to be worth
implementing category, but I think it's worth mentioning. (BTW, none of the
following code has been run.)
When you write a normal function that returns a deferred, it (of course)
has access to the deferred it's going to retur
On 11 Apr, 08:39 pm, exar...@divmod.com wrote:
On Sat, 11 Apr 2009 21:54:08 +0200, Esteve Fernandez
wrote:
Shouldn't twisted and twisted/plugins be non-importable? I thought
twisted and
twisted/plugins must not have __init__.py files in order for the
plugin
system to be able to find them (t
On 11 Apr, 08:41 pm, est...@sindominio.net wrote:
factory = IFooFactory(myService)
factory.bar = "some value"
it works, but I'd rather use this:
factory = IFooFactory(myService, configurationObject)
This is a long and terrible road you're about to start down. It's hard
for me to explain ex
On Sun, Apr 12, 2009 at 10:31 AM, wrote:
>
> On 11 Apr, 08:41 pm, est...@sindominio.net wrote:
>>
>> factory = IFooFactory(myService)
>> factory.bar = "some value"
>>
>> it works, but I'd rather use this:
>>
>> factory = IFooFactory(myService, configurationObject)
>
> This is a long and terrible
On 11 Apr, 10:55 pm, te...@jon.es wrote:
I can get around this in ways that are less elegant:
@defer.inlineCallbacks
def func():
# do some stuff
d = defer.Deferred()
callSomethingElse(d)
d.callback(result)
newResult = yield d
defer.returnValue(new
Bug summary
__
Summary for 2009-04-05 through 2009-04-12
Bugs opened: 22Bugs closed: 10 Total open bugs: 1076 (+12)
|== Type Changes |== Priority Changes |== Component Changes
|Defect: +1 |Highest: +1 |Core:-1
|Enhancement: +1
16 matches
Mail list logo