From: SourceForge.net <no...@so...> - 2013-03-03 08:44:00
|
Bugs item #3606659, was opened at 2013-03-03 00:44 Message generated for change (Tracker Item Submitted) made by eightpm You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=422030&aid=3606659&group_id=38414 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: None Group: None Status: Open Resolution: None Priority: 5 Private: No Submitted By: Philip (eightpm) Assigned to: Nobody/Anonymous (nobody) Summary: type-checking error in io.Input.decode Initial Comment: In the mothod 'decode' of docutils.io.Input (of docutils.io.py): if self.encoding and self.encoding.lower() == 'unicode': assert isinstance(data, unicode), ( 'input encoding is "unicode" ' 'but input is not a unicode object') if I understand correctly, that assert statement should be: assert not isinstance(data, unicode), ( ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=422030&aid=3606659&group_id=38414 |