Skip to content

Commit 8706522

Browse files
generatedunixname1734921407115435meta-codesync[bot]
authored andcommitted
Sync pre-release CPython main branch from GitHub (2026-03-10)
Summary: Imported python/cpython `3.15.0a6+` from upstream rev [`66eafc9`](https://www.github.com/python/cpython/commit/66eafc9ea74e5233f2c46b424729d6dadfbb3111) (committed 2026-03-10 04:12:48+00:00). # Commit Info Base: (`3.15.0a6+`) - [`0156133`](https://www.github.com/python/cpython/commit/015613384fea7a00bb2077760e325e5baab6814b) (commit date: 2026-03-09 02:25:21+00:00) Imported: (`3.15.0a6+`) - [`66eafc9`](https://www.github.com/python/cpython/commit/66eafc9ea74e5233f2c46b424729d6dadfbb3111) (commit date: 2026-03-10 04:12:48+00:00) # Files added ``` Misc/NEWS.d/next/Core_and_Builtins/2026-02-12-12-39-50.gh-issue-144681.Ns2OT2.rst Misc/NEWS.d/next/Core_and_Builtins/2026-03-05-16-16-17.gh-issue-143055.qDUFlY.rst Misc/NEWS.d/next/Core_and_Builtins/2026-03-06-21-05-05.gh-issue-145615.NKXXZgDW.rst Misc/NEWS.d/next/Core_and_Builtins/2026-03-09-18-52-03.gh-issue-145701.79KQyO.rst Misc/NEWS.d/next/Library/2026-03-05-19-01-28.gh-issue-145551.gItPRl.rst ``` Differential Revision: D95906189 fbshipit-source-id: aeedf6de05ccecdd5cc48534850a3f639de2c9ed
1 parent 52b72c0 commit 8706522

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

cinderx/UpstreamBorrow/borrowed-3.15.gen_cached.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1818,6 +1818,7 @@ _PyObject_SetAttributeErrorContext(PyObject* v, PyObject* name)
18181818
// Augment the exception with the name and object
18191819
if (PyObject_SetAttr(exc, &_Py_ID(name), name) ||
18201820
PyObject_SetAttr(exc, &_Py_ID(obj), v)) {
1821+
Py_DECREF(exc);
18211822
return 1;
18221823
}
18231824
restore:

0 commit comments

Comments
 (0)