]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-121199: Use _Py__has_attribute() in timemodule.c (#121203)
authorVictor Stinner <vstinner@python.org>
Mon, 1 Jul 2024 08:49:33 +0000 (10:49 +0200)
committerGitHub <noreply@github.com>
Mon, 1 Jul 2024 08:49:33 +0000 (08:49 +0000)
commita0b8b342c5d0b4722ad9cfe82f2630025d445f00
tree648a489546168c93d4d31728120e2340bfa6e363
parentaf8c3d7a26d605099f5b3406a8d33ecddb77e8fb
gh-121199: Use _Py__has_attribute() in timemodule.c (#121203)

Use the _Py__has_attribute() macro in timemodule.c and
bootstrap_hash.c to fix a build error on old GCC versions (GCC 4.8.5
on s390x).
Modules/timemodule.c
Python/bootstrap_hash.c