Commits

Show all
Author Commit Message Labels Comments Date
Jurko Gospodnetić
Fix converting binary SOAP Request & Reply data to strings. Request & Reply 'message' member contains binary & not unicode-string data. When a string is needed (e.g. when logging SOAP request or reply content) we now use Python's internal and non-ambiguous representation for this data. Optionally, we could 'assume the data is actually an utf-8 encoded unicode string', decode it and get a bit nicer string output, i.e. without the "b''" wrapper and without …
Branches
Python 3 support
Jurko Gospodnetić
HTTPMessage class related changes needed for Python 3 support.
Branches
Python 3 support
Jurko Gospodnetić
Encoding related changes needed for Python 3 support.
Branches
Python 3 support
Jurko Gospodnetić
Use key instead of cmp function. cmp functions for sorting are deprecated and have been dropped in Python 3. Defining a key function is an alternative available since Python 2.4.
Branches
Python 3 support
Jurko Gospodnetić
Split absolute and relative imports into separate import statements. This is needed for the lib2to3 Python 2 to 3 conversion to correctly recognize old-style relative imports and adjust their syntax for Python 3.
Branches
Python 3 support
Jurko Gospodnetić
Remove usage of the deprecated module 'new'. The 'new' module has been deprecated since Python 2.6; the built-in function 'type' can be used instead of 'new.classobj'.
Branches
Python 3 support
Jurko Gospodnetić
urllib/urllib2 library version data location changed between Python 2 & 3. We teach Python's lib2to3 urllib fixer to correctly recognize the 'urllib2.__version__' data member usage and update it to 'urllib.request.__version__'.
Branches
Python 3 support
Jurko Gospodnetić
Fix urllib2 importing. 2to3 is able to convert urllib2 and urllib to the new unified urllib library just fine but not if urllib is imported under a different name (u2).
Branches
Python 3 support
Jurko Gospodnetić
Replace all __str__ methods by UnicodeMixin class.
Branches
Python 3 support
Jurko Gospodnetić
Use 2to3 fixers when building via 'setup.py'. This adds a dependency on the Python 3 version of setuptools when running under Python 3. This should not be a problem since the Python 2 version also depends on setuptools.
Branches
Python 3 support
Jurko Gospodnetić
Add py3testenv to makefile to prepare tests to be run with Python 3.
Branches
Python 3 support
Jurko Gospodnetić
Report an error if running setup.py from an unexpected folder. Setup documentation incorrectly states that it will search for packages relative to the setup script folder by default when in fact it will search for them relative to the current working folder. It seems avoiding this problem cleanly and making the setup script runnable with any current working folder would require better setup() support.
Branches
Python 3 support
Jurko Gospodnetić
Extract suds version information into a separate module. This change allows the setup.py script to work without having to import the suds package, thus allowing us to: * Maintain our suds library sources in Python 2 compatible but possibly Python 3 incompatible format (whatever gets imported by setup.py needs to be compatible with the Python version running that script). * Have setup.py install any missing suds library depencencies instead o…
Branches
Python 3 support
Jurko Gospodnetić
Cleanup - trimmed trailing spaces, removed unnecessary imports, etc. Trimmed trailing spaces. Removed unnecessary imports. Standardized quote usage in some modules.
Branches
Python 3 support
Jurko Gospodnetić
Added missing suds Python library release notes. Release notes added for releases 0.3.7, 0.3.8, 0.3.9, 0.4 & 0.4.1 based on release notes found specified in the file 'python-suds.spec' used for preparing the suds RPM package.
Jurko Gospodnetić
Minor stylistic changes and typo corrections in the project's README file.
Jurko Gospodnetić
Corrected a typo in the project's README file.
Jurko Gospodnetić
Added a Mercurial file & folder ignore list for the project.
Jurko Gospodnetić
Ported the test_date_time.py unit test script to the pytest unit test framework. Running unit tests using the pytest unit testing framework: * Simplifies the test code a bit. * Provides the infrastructure for some more complex test setup and teardown code. * Avoids problems with incorrect modules getting imported when running the tests from an unexpected current working folder and/or when another set of suds library sources are already located o…
Jurko Gospodnetić
Cleaned up the basic test_suds.py unit test module. Removed a stale TODO comment. Minor stylistic header comment change.
Jurko Gospodnetić
Disabled pytest unit test lookup in build & version control system subfolders.
Jurko Gospodnetić
Made suds work with operations taking choice parameters. Based on a patch by michaelgruenewald & bennetb01 attached to ticket #342 on the original suds project issue tracker ('http://fedorahosted.org/suds/ticket/342'). Comments listed related to that ticket seem to indicate that there may be additional problems with this patch but so far we have not encountered any. Added a test to make sure that such choice parameters are correctly listed in the corre…
Jurko Gospodnetić
Added a test for resolving WSDL schema node types.
Jurko Gospodnetić
Extracted WSDL schema content testing into a separate test case.
Jurko Gospodnetić
Added testing dynamic suds object class information with old-style classes. Parts of previous dynamic suds object class information checking worked only for new-style classes. Now we found out there is no need to skip those tests when using old-style classes and instead we only need to find out the object's class information using its __class__ member and not the global built-in type() function.
Jurko Gospodnetić
Added a test analysing an input sequence structure containing a choice.
Jurko Gospodnetić
Minor stylistic test WSDL input data change to make it take up less space.
Jurko Gospodnetić
Added a new test making sure missing parameter elements are reported correctly.
Jurko Gospodnetić
Updated tests to use old-style except statements. This exception handling style used in the test code consistent with the one used in the rest of the code base. Simple Python3 2to3 script can be used to easily and consistently convert all such old-style except statements into new-style ones.
Jurko Gospodnetić
Made tests more efficient by not loading WSDL content using temporary files.
  1. Prev
  2. Next