]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-117549: Don't use designated initializers in headers (#118580)
authorGuido van Rossum <guido@python.org>
Sun, 5 May 2024 19:28:55 +0000 (12:28 -0700)
committerGitHub <noreply@github.com>
Sun, 5 May 2024 19:28:55 +0000 (19:28 +0000)
commit40cc809902304f60c6e1c933191dd4d64e570e28
tree4e71c44dae52c861c118b318fd7d4b7585939b69
parent44f67916dafd3583f482e6d001766581a1a734fc
gh-117549: Don't use designated initializers in headers (#118580)

The designated initializer syntax in static inline functions in pycore_backoff.h
causes problems for C++ or MSVC users who aren't yet using C++20.
While internal, pycore_backoff.h is included (indirectly, via pycore_code.h)
by some key 3rd party software that does so for speed.
Include/internal/pycore_backoff.h
Misc/NEWS.d/next/Core and Builtins/2024-05-05-12-04-02.gh-issue-117549.kITawD.rst [new file with mode: 0644]