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 — Unsafe DECREFs of borrowed references in the interpreter. · Issue #125323 · python/cpython Closed Labels interpreter-core(Objects, Python, Grammar, and Parser dirs)(Objects, Python, Grammar, and Parser dirs)type-bugAn unexpected behavior, bug, or errorAn unexpected behavior, bug, or error DescriptionBug reportBug description:It is unsafe to borrow a The fix for this is to change the incorrect pattern: PyObject *left_o = PyStackRef_AsPyObjectBorrow(left); use(left_o); Py_DECREF(left_o); to the correct pattern: PyObject *left_o = PyStackRef_AsPyObjectBorrow(left); use(left_o); PyStackRef_CLOSE(left); This is causing problems, as optimizations to exploit stack refs don't work: https://github.com/python/cpython/compare/main...faster-cpython:cpython:use-stackrefs-opt-experiment?expand=1 CPython versions tested on:CPython main branch Operating systems tested on:Other Linked PRsReacted by Tomas R. and Sam Gross Activity
MetadataMetadataAssigneesLabelsinterpreter-core(Objects, Python, Grammar, and Parser dirs)(Objects, Python, Grammar, and Parser dirs)type-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. |