]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
Remove Py_TPFLAGS_CHECKTYPES
authorTom Tromey <tromey@adacore.com>
Tue, 21 Oct 2025 16:04:14 +0000 (10:04 -0600)
committerTom Tromey <tromey@adacore.com>
Thu, 23 Oct 2025 13:43:00 +0000 (07:43 -0600)
commitf20c97f00d29d0a4459a0606164ceb192fe6432b
tree58e6bd740cfa48bb4f22211429e87f47d7108cb6
parente162de19f9b98279b48081eca88beb080a656b2f
Remove Py_TPFLAGS_CHECKTYPES

According to 'git annotate', the Py_TPFLAGS_CHECKTYPES was added to
python-internal.h way back when gdb was first ported to Python 3.  It
was a compatibility fix for Python 2.

This is not needed any more, because Python 2 is no longer supported.
This patch removes the vestiges.

Approved-By: Simon Marchi <simon.marchi@efficios.com>
gdb/python/py-value.c
gdb/python/python-internal.h