Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/pybind/pybind11
/ PyValueHolder
Class
PyValueHolder
tests/test_numpy_array.py:665–667 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
663
# * Sanitizers are much more likely to detect heap-use-after-free due to
664
# other ref-count bugs.
665
class
PyValueHolder:
666
def
__init__(self, value):
667
self.value = value
668
669
670
def
WrapWithPyValueHolder(*values):
Callers
1
WrapWithPyValueHolder
Function · 0.85
Calls
no outgoing calls
Tested by
1
WrapWithPyValueHolder
Function · 0.68