Eric Smith <e...@trueblade.com> added the comment: This should be either: '<QName %r>' % (self.text,) or: '<QName {!r}>'.format(self.text)
If self.text is a tuple (which granted is its own error), then the version checked in will raise an exception. ---------- nosy: +eric.smith resolution: fixed -> status: closed -> open _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue10661> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com