We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b78bd2e commit e66666fCopy full SHA for e66666f
utils/backtrace-check
@@ -72,6 +72,10 @@ def main():
72
found_stack_trace_start = False
73
found_stack_trace_entry = False
74
for line in lines:
75
+ # In Python 2, string objects can contain Unicode characters.
76
+ if sys.version_info.major == 2:
77
+ line = line.decode('utf-8', 'replace')
78
+
79
line = line.rstrip('\n')
80
81
# First see if we found the start of our stack trace start. If so, set
0 commit comments