delcypher wrote:

@bulbazord / @medismailben  This fix wasn't quite right. Here's an example 
showing why:

```
>>> test = b'xxx'
>>> type(test)
<class 'bytes'>
>>> str(test)
"b'xxx'"
>>> test.decode()
'xxx'
```

If you do `str()` on a bytes object you end up with `b'...'` in the string 
because of the object being a bytes object. You need to call `.decode()` on the 
bytes object to get the `str` representation.



https://github.com/llvm/llvm-project/pull/170225
_______________________________________________
lldb-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to