[Twisted-Python] Allowing a type to be transmitted by jelly?

Itamar Shtull-Trauring itamar at itamarst.org
Thu Dec 22 12:11:30 EST 2005

On Thu, 2005-12-22 at 11:35 -0500, Mike C. Fletcher wrote:

> cinemon.snmp.oidobject.OID and pysnmp.asn1.oid.OID are tuple sub-classes 
> with __slots__ defined to () such that they have the internal layout of 
> tuples.  That's done to improve the efficiency of PySNMP, TwistedSNMP 
> and Cinemon, the classes just add new methods, no new data is stored in 
> the instance's object structure.
> Bald tuples do, indeed, transmit fine, but sub-classes do not.

Should be possible to have existing jelly support those, I bet.

More information about the Twisted-Python mailing list