> Im facing a problem with SOAPpy which checks for recursive objects using > id(obj). > > In my case value for 2 SOAP headers are same and iam getting a recursion > error. if i pass different object with same value SOAPpy does not complain > (by using str(value) and unicode(value)).
If you can include a stack trace of that error with SOAPpy, that would be excellent. This sounds bizarre. You won't be able to do anything with the ints: some of them are internally interned by the runtime, and you can't control this. So I'd instead focus on why SOAPpy is failing. It shouldn't have to worry about recursively traversing the ints: they don't have any structure to traverse! So a stack trace would be useful. _______________________________________________ Tutor maillist - Tutor@python.org http://mail.python.org/mailman/listinfo/tutor