[Twisted-Python] jelly and instances

Wolfgang Rohdewald wolfgang.kde at rohdewald.de
Tue Sep 9 20:50:35 MDT 2014


doc says:

Instance: s is an instance of UserString.UserString, with a __dict__
{'data': 'hello'}::
    [\"UserString.UserString\", ['dictionary', ['data', 'hello']]]

There is no test for instances. To be precise, no test ever enters
jelly._unjelly_instance()

I also cannot find any place in jelly.py where an Instance would
be jellied. There is

instance_atom = 'instance'

but instance_atom is not used anywhere.

Is this outdated code? If not, could you please give me a code
example using this?


-- 
Wolfgang



More information about the Twisted-Python mailing list