str must be valid UTF-8, which is not guaranteed for C++ strings.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Comment Actions
Use bytes, not str, to return C++ opaque attributes to Python, and add value_bytes for string attributes.
str must be valid UTF-8, which is not guaranteed for C++ strings.
Comment Actions
Thanks for the review. Please can somebody submit the change? I don't think I have permissions.