[Moin-devel] deferred and macros
Alexander Schremmer
mailinglist at alexanderweb.de
Tue Dec 21 08:38:02 EST 2004
William Waites wrote on Tuesday, December 21, 2004 5:02 PM CEST:
> What I would like to be able to do is, running MoinMoin inside
> Twisted, write a macro that looks like this:
>
> def execute(macro, args):
> from twisted.internet import defer
> return defer.succeed("Bonjour le monde!")
So what do you want to do exactly? You want to have a code object which gets
evaluated on page view?
> However having macros able to return deferreds is useful since
> it makes it possible to make many calls to the twisted framework
> from within MoinMoin.
Which exactly?
> But it is difficult because right now the
> MoinMoin architecture expects calls like this to be synchronous
Between which events do you want your code to be asynchronous?
> So I'm not sure what my question is.
I second that. ;-)
Kind regards,
Alexander
More information about the Moin-devel
mailing list