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 — Py_TRACE_REFS is not compatible with Py_LIMITED_API · Issue #108634 · python/cpython Closed Labels type-bugAn unexpected behavior, bug, or errorAn unexpected behavior, bug, or error DescriptionBug reportChecklist
CPython versions tested on:CPython main branch Operating systems tested on:Linux Output from running 'python -VV' on the command line:No response A clear and concise description of the bug:Trying to build a C extension targetting the limited C API (defining Py_LIMITED_API) fails if Python is configured with The #if defined(Py_LIMITED_API) && defined(Py_TRACE_REFS) # error Py_LIMITED_API is incompatible with Py_TRACE_REFS #endif The problem is that the PyObject ABI is different: Py_TRACE_REFS adds two members to PyObject structure: PyObject *_ob_next; PyObject *_ob_prev; One solution to make Py_TRACE_REFS compatible with Py_LIMITED_API would be to not add these two members to PyObject, but store the double-linked list outside Linked PRsActivity
MetadataMetadataAssigneesLabelstype-bugAn unexpected behavior, bug, or errorAn unexpected behavior, bug, or error 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. |