Hello everyone, for some reason copy.deepcopy forks great on a domish.Element on 2.5 but not in 2.6 : Python 2.5.4 (r254:67916, Sep 20 2009, 10:05:43) [GCC 4.4.1] on linux2 Type "help", "copyright", "credits" or "license" for more information.
from twisted.words.xish import domish import copy msg = domish.Element(('jabber:client', 'message')) msg2 = copy.deepcopy(msg)
Python 2.6.4 (r264:75706, Nov 2 2009, 14:38:03) [GCC 4.4.1] on linux2 Type "help", "copyright", "credits" or "license" for more information.
from twisted.words.xish import domish import copy msg = domish.Element(('jabber:client', 'message')) msg2 = copy.deepcopy(msg) Exception RuntimeError: 'maximum recursion depth exceeded while calling a Python object' in <type 'exceptions.AttributeError'> ignored
does someone understand why? I'm using twisted 8.2 on ubuntu 9.10. Thank you, Gabriel