https://github.com/python/cpython/commit/43e495d6f4e0efe6e7a54625d559f2f656f36916
commit: 43e495d6f4e0efe6e7a54625d559f2f656f36916
branch: 3.13
author: Victor Stinner <[email protected]>
committer: vstinner <[email protected]>
date: 2026-01-07T14:17:06Z
summary:

[3.13] gh-142991: Fix socketmodule.c build: remove _Py_FALLTHROUGH (#143514)

Fix commit 7f936694dbc0dc0dbb07d98fa668776c4e4ca595 backport which
uses _Py_FALLTHROUGH: this macro only exists in Python 3.14 and
newer.

files:
M Modules/socketmodule.c

diff --git a/Modules/socketmodule.c b/Modules/socketmodule.c
index 4362d95ae1ff13..6df7401133a41b 100644
--- a/Modules/socketmodule.c
+++ b/Modules/socketmodule.c
@@ -2652,7 +2652,6 @@ getsockaddrlen(PySocketSockObject *s, socklen_t *len_ret)
 #ifdef AF_DIVERT
     case AF_DIVERT:
         /* FreeBSD divert(4) sockets use sockaddr_in: fall-through */
-       _Py_FALLTHROUGH;
 #endif /* AF_DIVERT */
 
     case AF_INET:

_______________________________________________
Python-checkins mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://mail.python.org/mailman3//lists/python-checkins.python.org
Member address: [email protected]

Reply via email to