suds-py3 icon indicating copy to clipboard operation
suds-py3 copied to clipboard

Use correct Object to support ordering

Open Thalmann opened this issue 3 years ago • 1 comments

In the Python 2 version mx/literal.py contains this:

from suds import *
from suds.mx import *

And mx/init.py contains this:

from suds.sudsobject import Object So in the end it will be suds.sudsobject.Object which gets used.

In the Python 3 version init.py has introduced this:

class Object(object):
    """
    The python 3 base Object
    """
    pass

And mx/literal.py now instead has this:

from suds import TypeNotFound, Object So indeed it is importing the wrong Object class in Python 3.

Thalmann avatar Jan 13 '22 23:01 Thalmann

@cackharot Can you take a look at this one?

Thalmann avatar Feb 12 '22 06:02 Thalmann