hi there, folks:
I'd really like to release 0.7.0 but I would like it to be at least a
little bit tested before I do so. Could those of you with CVS trees check
everything out and see if it performs as advertised? Deeper bugs than
that will have to wait for the next release, but I'd at least like to know
if it works for someone other than me.
______ __ __ _____ _ _
| ____ | \_/ |_____] |_____|
|_____| |_____ | | | |
@ t w i s t e d m a t r i x . c o m
I would like to announce txZMQ, ZeroMQ bindings for Twisted. txZMQ is based
on pyzmq and requires recent ØMQ version (>=2.1).
txZMQ uses ØMQ APIs to get file descriptor that is used to signal pending
actions from ØMQ library IO thread running in separate thread. txZMQ should
be usable with any Twisted reactor.
* The socket library that acts as a concurrency framework.
* Carries messages across inproc, IPC, TCP, and multicast.
* Connect N-to-N via fanout, pubsub, pipeline, request-reply.
* Fast enough for clustered products and supercomputing.
* Asynch I/O for scalable multicore message-passing apps.
Bridging ØMQ and Twisted makes a nice match: fast simple messaging between
Twisted instances solving complex problems :)
* PyPi: http://pypi.python.org/pypi/txZMQ/
* Source code: https://github.com/smira/pyzmq
* pyzmq: http://pypi.python.org/pypi/pyzmq
* ØMQ: http://www.zeromq.org/
Qik Web Team Lead
I have an xml file in my application,
I have created an element using
Example goes like this.........
and i appeneded it by using append() method.
But how i can reflect this change to my xml file?
and one more thing is i want to create element with some other parameters....
<abc m=" " n=" ">
and i have m and n values as strings with me.
can anybody help me to create this element and write it to the existing xml file
as a child of an existing element?
Thanks in advance..
Forgot the famous last words? Access your message archive online at http://in.messenger.yahoo.com/webmessengerpromo.php
On 18 May 2004, the following message was posted to this mailinglist:
Jp Calderone exarkun at divmod.com wrote:
>Daniel Newton wrote:
> I have a simple XML-PRC server similar to the example below:
> from twisted.web import xmlrpc, server
> class Example(xmlrpc.XMLRPC):
> """An example object to be published."""
> def xmlrpc_add(self, a, b):
> """Return sum of arguments."""
> return a + b
> if __name__ == '__main__':
> from twisted.internet import reactor
> r = Example()
> reactor.listenTCP(7080, server.Site(r))
> I want to be able to get the address of the client that calls the
> method can anyone help me with this?
This solution didn't work because 'transport' isn't a property of the
I'm currently in the process of changing from a customized
SimpleXMLRPCServer to a twisted XMLRPC server solution and I need to
insert the client IP into the attributes passed to the called xmlrpc
method. Anyone who knows the answer and is willing to share the info?
I'm a student of GSoC 2012, from University of Tsukuba, Japan.
I'm glad to be selected as a practicer in Twisted project this year.
Then in these serveral months, my project is to create a code standard
checker for Twisted,
Basically, I will follow "Twisted Coding Standard", it can be found at:
I hope finally this project could be integrated into our main ticket system,
so it would automatically check patches or other things.
Please let me know if you have any good advise or idea to this project.
My name on IRC is zomux.
( This project is currently hosted on launchpad,
*Raphael Shu , UACA 2012*
I am plannig to upgrade twisted's buildbot in the near future. In
preperation for that, I am going to take down the production buildbot
on Tuesday, June 26, around 1600 UTC.
During that time, the result of any builds done will be lost. Thus, I'd
ask that people avoid committing to trunk during that time.
I will send a reminder before I take down the buildbot both here, and on
#twisted and #twisted-dev.
I'm a Twisted neophyte, but I've been using Python a long time.
Is there a way of producing a deferred graph in a Python program at a given
point in time? Perhaps something based on graphviz and objgraph.py? We're
able to detect when we're having the problem, we just don't (yet) know its
I'm looking at some code with a bit over 200
addCallback/addErrback/addCallbacks in it.
It's got a problem where sometimes the deferreds seem to just stop
executing. I see in the doc it says that this can happen if you've
neglected to add an errback to the end of one or more of your deferred
One of the people who's been here longer than me, indicated that he's gone
through the code looking for such issues, and didn't find any. This
suggests to me that either there's some other cause, or that it really is a
deferred without a final errback, but it's hidden in a dark corner of the
As some of you may know I am working on a JSON-RPC <-> AMP bridge to
consume AMP services from browsers. WIP: http://lvh.github.com/amphibian/
I've hit a failing integration test. I know what the issue is -- I don't
know how to resolve it.
I attempted to write the proxy without any knowledge of the remote
commands. It assumes that the JSON provided satisfies the remote signature.
If it doesn't -- that's okay, we'll get a failure back from the AMP server.
So, I use callRemoteString and manually serialize by typechecking. Although
that works for sending, the result I get back from callRemoteString is also
in wire format. Because I don't know the signature, I have no idea if the
sender meant 4, "4", u"4"...
dreid pointed out that I really shouldn't need a language-specific
implementation of a class for this to work
teratorn pointed out that there is a JSON schema ticket for AMP. Perhaps
there should also be a "DiscoverSchema" command?
Alternatively I could just cop out and require commands to be importable.
Would make the code simpler but the entire design would become
significantly more coupled.