commit | e77d640c49188a4fb912dadc15d4582580d3c34d | [log] [tgz] |
---|---|---|
author | Mike Bayer <mike_mp@zzzcomputing.com> | Thu May 09 23:07:17 2019 -0400 |
committer | Mike Bayer <mike_mp@zzzcomputing.com> | Thu May 09 23:07:17 2019 -0400 |
tree | beb22ce2ed2720f20eb48b66dc15a33f2edee580 | |
parent | 50170dd4bd9d8cd902493973c4222c8f7c7fd539 [diff] |
Use utf-8 encoding for traceback source with no encoding in py3k Added a default encoding of "utf-8" when the :class:`.RichTraceback` object retrieves Python source lines from a Python traceback; as these are bytes in Python 3 they need to be decoded so that they can be formatted in the template. Fixes: #293 Change-Id: I41a5c09422d6500c7cab2423ed14ac951a64e2f4