![](https://secure.gravatar.com/avatar/3477a9de290ec6d77129af504faa1c0b.jpg?s=120&d=mm&r=g)
On Wed, 28 May 2003, Wari Wahab <wari@home.wari.org> wrote:
2. Use the PySNMP library as is, no matter how blocking that can be?
It's often possible to use a library *partially*, if it's structured correctly. E.g., have the network code in Twisted pass in data to some semi-internal PySNMP function. As an example, this is how the XML-RPC and SOAP support work -- they use the parsing code from xmlrpclib and SOAPpy, but use Twisted's network code. If this isn't possible, see if you can modify PySNMP a little to decouple the network code from the protocol parsing code, and send back the PySNMP guys the patch. Often, authors will take this kind of patches, especially if accompnied by "Twisted support" :). Just don't make it *depend* on Twisted. -- Moshe Zadka -- http://moshez.org/ Buffy: I don't like you hanging out with someone that... short. Riley: Yeah, a lot of young people nowadays are experimenting with shortness. Agile Programming Language -- http://www.python.org/