[all-commits] [llvm/llvm-project] 27f290: [lldb] Use PyBytes and PyByteArray in Python Data ...
Jonas Devlieghere via All-commits
all-commits at lists.llvm.org
Sat Feb 17 11:37:38 PST 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 27f2908fbc8092f3567385a63676d623523b318b
https://github.com/llvm/llvm-project/commit/27f2908fbc8092f3567385a63676d623523b318b
Author: Jonas Devlieghere <jonas at devlieghere.com>
Date: 2024-02-17 (Sat, 17 Feb 2024)
Changed paths:
M lldb/unittests/ScriptInterpreter/Python/PythonDataObjectsTests.cpp
Log Message:
-----------
[lldb] Use PyBytes and PyByteArray in Python Data Objects unittest (#82098)
Use a Python Bytes and ByteArray object instead of Integers for
TestOwnedReferences and TestBorrowedReferences. These two tests were
failing when building against Python 3.12 because these Integer objects
had a refcount of 4294967296 (-1). I didn't dig into it, but I suspect
the Python runtime has adopted an optimization to decrease refcounting
traffic for these simple objects.
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