You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
ctypes: _Pointer.contents setter casts a __class__-spoofed value to CDataObject * #161390
Assigning to a ctypes pointer's .contents crashes the interpreter with SIGSEGV if the value is an ordinary Python object that claims to be the right type.
Expected: a TypeError, from a type check that does not consult __class__.
Activity
makwana-akshat commentedon Nov 5, 2026
i would like to solve this issue. assign/
pythongh-161390: Avoid an unresolved contents reference in the NEWS e…