Hi Joshua,

That's the major problem. The only error produced by the Mac version of Python is: "Bus Error". It took me several "print" statements to get down to that line of code.

The only "option" in suds which has a __deepcopy__ is the transport. And the code is really simple:

    def __deepcopy__(self, memo={}):
        clone = self.__class__()
        p = Unskin(self.options)
        cp = Unskin(clone.options)
        cp.update(p)
        return clone

That's why I got stuck at that line of code.

Best regards


On Fri, Oct 22, 2010 at 00:27, Joshua J. Kugler <joshua@eeinternet.com> wrote:
On Thursday 21 October 2010, Daniel Rodriguez elucidated thus:
> Python 2.6.1-2.6.6
>
> In the "clone" function of suds.client.Client.
>
>    -
>    - cp.update(deepcopy(mp))
>
> which is the moment the unskinned options of the clone are updated
> with a deepcopy of the unskinned options of the cloned object.
>
> I really don't have much experience with MacOS and just tried it
> because someone wanted to try my application.
>
> My guess is that the error is generated due to some sort of infinite
> recursion, given that if I substitute the "deepcopy" with a "copy",
> at least the clone doesn't die. (Of course the options are no longer
> independent but linked, which in my case should be no problem)
>
> I wonder if anyone is using suds on Mac as has faced something
> similar.
>
> Best regards

Can you post a full traceback?

j

--
Joshua Kugler
Part-Time System Admin/Programmer
http://www.eeinternet.com - Fairbanks, AK
PGP Key: http://pgp.mit.edu/  ID 0x73B13B6A
_______________________________________________
suds mailing list
suds@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/suds