GeezerVisonThe World Wide Web, restored to 800 pixels of glory. |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites |
GeezerVison is showing github.com — ctypes: `_Pointer.contents` setter casts a `__class__`-spoofed value to `CDataObject *` · Issue #161390 · python/cpython Open Labels extension-modulesC modules in the Modules dirC modules in the Modules dirtopic-ctypestype-crashA hard crash of the interpreter, possibly with a core dumpA hard crash of the interpreter, possibly with a core dump DescriptionBug reportSummaryAssigning to a ctypes pointer's Expected: a Reproducerimport ctypes class Forge: __slots__ = ("a", "b", "c", "d") __class__ = ctypes.c_int def __init__(self): self.a = ctypes.c_int(7) self.b = self.c = self.d = None ctypes.pointer(ctypes.c_int(1)).contents = Forge() Segmentation fault (core dumped)CPython versions tested on:3.15 Operating systems tested on:Linux Linked PRsActivity
MetadataMetadataAssigneesLabelsextension-modulesC modules in the Modules dirC modules in the Modules dirtopic-ctypestype-crashA hard crash of the interpreter, possibly with a core dumpA hard crash of the interpreter, possibly with a core dump ProjectsMilestoneRelationshipsDevelopmentIssue actions |
| You are visitor 01402503 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |