[all-commits] [llvm/llvm-project] 12da87: [lldb] Use Python Bytes instead of Buffer for Bina...
Jonas Devlieghere via All-commits
all-commits at lists.llvm.org
Tue Aug 5 10:59:21 PDT 2025
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 12da87bef12d9545775a5c375cfc22904ca4602d
https://github.com/llvm/llvm-project/commit/12da87bef12d9545775a5c375cfc22904ca4602d
Author: Jonas Devlieghere <jonas at devlieghere.com>
Date: 2025-08-05 (Tue, 05 Aug 2025)
Changed paths:
M lldb/source/Plugins/ScriptInterpreter/Python/PythonDataObjects.cpp
Log Message:
-----------
[lldb] Use Python Bytes instead of Buffer for Binary I/O (NFC) (#152031)
Binary I/O (also called buffered I/O) expects bytes-like objects and
produces bytes objects [1]. Switch from using a Python buffer to using
Python bytes to read the data. This eliminates calls to functions that
aren't part of the Python stable C API.
[1] https://docs.python.org/3/library/io.html#binary-i-o
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list