[Bug python/34145] [gdb/python] Remove Py_RETURN_NONE uses
cvs-commit at gcc dot gnu.org
sourceware-bugzilla@sourceware.org
Fri May 15 19:38:35 GMT 2026
https://sourceware.org/bugzilla/show_bug.cgi?id=34145
--- Comment #5 from Sourceware Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Tom de Vries <vries@sourceware.org>:
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=723d7c3db7b3ed276c040c8d99d77419bc1e591e
commit 723d7c3db7b3ed276c040c8d99d77419bc1e591e
Author: Tom de Vries <tdevries@suse.de>
Date: Fri May 15 21:38:12 2026 +0200
[gdb/python] Remove Py_RETURN_{NONE,TRUE,FALSE,NOTIMPLEMENTED}
Result of:
...
$ sed -i 's/Py_RETURN_NONE/return py_none ().release ()/'
gdb/python/*.{c,h}
...
with the changes in py_none reverted.
Likewise for Py_RETURN_TRUE,Py_RETURN_FALSE and Py_RETURN_NOTIMPLEMENTED.
Approved-By: Tom Tromey <tom@tromey.com>
Bug: https://sourceware.org/bugzilla/show_bug.cgi?id=34145
--
You are receiving this mail because:
You are on the CC list for the bug.
More information about the Gdb-prs
mailing list