[Twisted-Python] Binary files in Twisted
![](https://secure.gravatar.com/avatar/15978ebd1f7faa822eff877efdcadd8c.jpg?s=120&d=mm&r=g)
Dear all, What are the following libraries that is build when I install Twisted? ./protocols/_c_urlarg.so ./runner/portmap.so ./spread/cBanana.so Liming
![](https://secure.gravatar.com/avatar/15fa47f2847592672210af8a25cd1f34.jpg?s=120&d=mm&r=g)
On Aug 27, 2004, at 4:34 AM, Tsai Li Ming wrote:
What are the following libraries that is build when I install Twisted?
./protocols/_c_urlarg.so
Optional url parsing speedup code -- this has a memory leak in 1.3.0 and previous, so you probably don't want to use it in those versions. Removing will cause the slower python code to be used instead. (I don't know how much this helps, it might be a premature optimization anyhow).
./runner/portmap.so
Required to interface with the RPC portmap daemon to register new RPC programs. But you more than likely don't want or need this functionality.
./spread/cBanana.so
Also an optional C speedup module, this time for the banana protocol. Looks like the code that uses this module is commented out. So basically, you can remove all the binaries without worrying. :) James
![](https://secure.gravatar.com/avatar/b3407ff6ccd34c6e7c7a9fdcfba67a45.jpg?s=120&d=mm&r=g)
On Fri, Aug 27, 2004 at 10:45:16PM +0800, Tsai Li Ming wrote: [...]
So I'm guessing I can just remove all the binaries and Twisted will work as normal?
Yep. Two of them are strictly optional (they only exist as optimisations), and the other is only used by twisted.runner.inetd afaik, which almost no-one uses. -Andrew.
![](https://secure.gravatar.com/avatar/15fa47f2847592672210af8a25cd1f34.jpg?s=120&d=mm&r=g)
On Aug 27, 2004, at 4:34 AM, Tsai Li Ming wrote:
What are the following libraries that is build when I install Twisted?
./protocols/_c_urlarg.so
Optional url parsing speedup code -- this has a memory leak in 1.3.0 and previous, so you probably don't want to use it in those versions. Removing will cause the slower python code to be used instead. (I don't know how much this helps, it might be a premature optimization anyhow).
./runner/portmap.so
Required to interface with the RPC portmap daemon to register new RPC programs. But you more than likely don't want or need this functionality.
./spread/cBanana.so
Also an optional C speedup module, this time for the banana protocol. Looks like the code that uses this module is commented out. So basically, you can remove all the binaries without worrying. :) James
![](https://secure.gravatar.com/avatar/b3407ff6ccd34c6e7c7a9fdcfba67a45.jpg?s=120&d=mm&r=g)
On Fri, Aug 27, 2004 at 10:45:16PM +0800, Tsai Li Ming wrote: [...]
So I'm guessing I can just remove all the binaries and Twisted will work as normal?
Yep. Two of them are strictly optional (they only exist as optimisations), and the other is only used by twisted.runner.inetd afaik, which almost no-one uses. -Andrew.
participants (5)
-
Andrew Bennetts
-
Dave Peticolas
-
Glyph Lefkowitz
-
James Y Knight
-
Tsai Li Ming