testtools-dev team mailing list archive
-
testtools-dev team
-
Mailing list archive
-
Message #00000
[Bug 611307] [NEW] Unicode tracebacks break when a line is None rather than str
Public bug reported:
Using traceback.extract_tb may return None for the source line rather
than a str, if for instance it comes from a bytecode file or an evaled
statement. In that case, the Python 2 unicode tracebacks code should not
attempt to decode it.
** Affects: testtools
Importance: Undecided
Assignee: Martin [gz] (gz)
Status: New
** Changed in: testtools
Assignee: (unassigned) => Martin [gz] (gz)
--
Unicode tracebacks break when a line is None rather than str
https://bugs.launchpad.net/bugs/611307
You received this bug notification because you are a member of testtools
developers, which is subscribed to testtools.
Status in Extensions to the Python unittest library: New
Bug description:
Using traceback.extract_tb may return None for the source line rather than a str, if for instance it comes from a bytecode file or an evaled statement. In that case, the Python 2 unicode tracebacks code should not attempt to decode it.
Follow ups
References