Jocelyn added the comment: Here is a patch to add a test to test_sax.py.
I'm not sure on the fix. Is the following one a correct one ? def prepareParser(self, source): if source.getSystemId() is not None: - self._parser.SetBase(source.getSystemId()) + self._parser.SetBase(str(source.getSystemId())) Or should I remove the call to SetBase if getSystemId() is not a string ? ---------- keywords: +patch Added file: http://bugs.python.org/file37249/test-22915.diff _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue22915> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com