https://github.com/python/cpython/commit/9778db13f799b1e3d6287767ac461d4cd299ec2d commit: 9778db13f799b1e3d6287767ac461d4cd299ec2d branch: main author: Victor Stinner <[email protected]> committer: vstinner <[email protected]> date: 2026-05-15T16:57:05Z summary:
gh-149879: Set thread name max length on Cygwin (#149890) This change fix test_threading on Cygwin. files: M configure M configure.ac diff --git a/configure b/configure index e09baf6ac96c12..63b41117957cab 100755 --- a/configure +++ b/configure @@ -31754,6 +31754,7 @@ case "$ac_sys_system" in iOS) _PYTHREAD_NAME_MAXLEN=63;; FreeBSD*) _PYTHREAD_NAME_MAXLEN=19;; # gh-131268 OpenBSD*) _PYTHREAD_NAME_MAXLEN=23;; # gh-131268 + CYGWIN*) _PYTHREAD_NAME_MAXLEN=16;; *) _PYTHREAD_NAME_MAXLEN=;; esac if test -n "$_PYTHREAD_NAME_MAXLEN"; then diff --git a/configure.ac b/configure.ac index d720d322453ee7..6df5d1bee31c67 100644 --- a/configure.ac +++ b/configure.ac @@ -7850,6 +7850,7 @@ case "$ac_sys_system" in iOS) _PYTHREAD_NAME_MAXLEN=63;; FreeBSD*) _PYTHREAD_NAME_MAXLEN=19;; # gh-131268 OpenBSD*) _PYTHREAD_NAME_MAXLEN=23;; # gh-131268 + CYGWIN*) _PYTHREAD_NAME_MAXLEN=16;; *) _PYTHREAD_NAME_MAXLEN=;; esac if test -n "$_PYTHREAD_NAME_MAXLEN"; then _______________________________________________ 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]
