diff options
| author | Tom Tromey <tromey@adacore.com> | 2025-10-21 10:04:14 -0600 |
|---|---|---|
| committer | Tom Tromey <tromey@adacore.com> | 2025-10-23 07:43:00 -0600 |
| commit | f20c97f00d29d0a4459a0606164ceb192fe6432b (patch) | |
| tree | 58e6bd740cfa48bb4f22211429e87f47d7108cb6 /gdb/python/python-internal.h | |
| parent | e162de19f9b98279b48081eca88beb080a656b2f (diff) | |
| download | binutils-f20c97f00d29d0a4459a0606164ceb192fe6432b.tar.gz binutils-f20c97f00d29d0a4459a0606164ceb192fe6432b.tar.bz2 binutils-f20c97f00d29d0a4459a0606164ceb192fe6432b.zip | |
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>
Diffstat (limited to 'gdb/python/python-internal.h')
| -rw-r--r-- | gdb/python/python-internal.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/gdb/python/python-internal.h b/gdb/python/python-internal.h index e2baa6a70b5..54467ba49f3 100644 --- a/gdb/python/python-internal.h +++ b/gdb/python/python-internal.h @@ -90,8 +90,6 @@ static_assert (PY_VERSION_HEX >= 0x03040000); -#define Py_TPFLAGS_CHECKTYPES 0 - /* If Python.h does not define WITH_THREAD, then the various GIL-related functions will not be defined. However, PyGILState_STATE will be. */ |
