def trace(context=1):
    return getinnerframes(sys.exc_info()[2], context)
Ensure proper utf-8 encoding or decoding happens automatically.
dataset/ETHPy150Open azoft-dev-team/imagrium/env/Lib/inspect.py/trace--crossover with--dataset/ETHPy150Open google/google-apputils/tests/basetest_test.py/GoogleTestBaseUnitTest.testAssertRegexMatch_unicodeVsBytes