head	1.4;
access;
symbols
	pkgsrc-2026Q3:1.3.0.24
	pkgsrc-2026Q3-base:1.3
	pkgsrc-2026Q2:1.3.0.22
	pkgsrc-2026Q2-base:1.3
	pkgsrc-2026Q1:1.3.0.20
	pkgsrc-2026Q1-base:1.3
	pkgsrc-2025Q4:1.3.0.18
	pkgsrc-2025Q4-base:1.3
	pkgsrc-2025Q3:1.3.0.16
	pkgsrc-2025Q3-base:1.3
	pkgsrc-2025Q2:1.3.0.14
	pkgsrc-2025Q2-base:1.3
	pkgsrc-2025Q1:1.3.0.12
	pkgsrc-2025Q1-base:1.3
	pkgsrc-2024Q4:1.3.0.10
	pkgsrc-2024Q4-base:1.3
	pkgsrc-2024Q3:1.3.0.8
	pkgsrc-2024Q3-base:1.3
	pkgsrc-2024Q2:1.3.0.6
	pkgsrc-2024Q2-base:1.3
	pkgsrc-2024Q1:1.3.0.4
	pkgsrc-2024Q1-base:1.3
	pkgsrc-2023Q4:1.3.0.2
	pkgsrc-2023Q4-base:1.3
	pkgsrc-2023Q3:1.2.0.16
	pkgsrc-2023Q3-base:1.2
	pkgsrc-2023Q2:1.2.0.14
	pkgsrc-2023Q2-base:1.2
	pkgsrc-2023Q1:1.2.0.12
	pkgsrc-2023Q1-base:1.2
	pkgsrc-2022Q4:1.2.0.10
	pkgsrc-2022Q4-base:1.2
	pkgsrc-2022Q3:1.2.0.8
	pkgsrc-2022Q3-base:1.2
	pkgsrc-2022Q2:1.2.0.6
	pkgsrc-2022Q2-base:1.2
	pkgsrc-2022Q1:1.2.0.4
	pkgsrc-2022Q1-base:1.2
	pkgsrc-2021Q4:1.2.0.2
	pkgsrc-2021Q4-base:1.2;
locks; strict;
comment	@ * @;


1.4
date	2026.10.16.17.08.36;	author adam;	state dead;
branches;
next	1.3;
commitid	o6Jq8cQYuv58YIZG;

1.3
date	2023.11.10.09.48.40;	author nia;	state Exp;
branches;
next	1.2;
commitid	t6NFHq2XMa5yX2ME;

1.2
date	2021.12.11.10.40.58;	author wiz;	state Exp;
branches;
next	1.1;
commitid	XlOYqFXj6guzIdkD;

1.1
date	2021.10.05.19.07.13;	author adam;	state Exp;
branches;
next	;
commitid	jj3P8LbPoUKBFEbD;


desc
@@


1.4
log
@python310 py310-html-docs: removed, end of life
@
text
@$NetBSD: patch-Python_thread__pthread.h,v 1.3 2023/11/10 09:48:40 nia Exp $

https://bugs.python.org/issue46045
https://trac.macports.org/ticket/59772

--- Python/thread_pthread.h.orig	2023-08-24 12:46:25.000000000 +0000
+++ Python/thread_pthread.h
@@@@ -81,6 +81,9 @@@@
    we need to add 0 to make it work there as well. */
 #if (_POSIX_SEMAPHORES+0) == -1
 #define HAVE_BROKEN_POSIX_SEMAPHORES
+#elif defined(__NetBSD__)
+/* XXX accesses to closed file descriptors, needs debugging */
+#define HAVE_BROKEN_POSIX_SEMAPHORES
 #else
 #include <semaphore.h>
 #include <errno.h>
@@@@ -343,7 +346,17 @@@@ PyThread_get_thread_native_id(void)
         PyThread_init_thread();
 #ifdef __APPLE__
     uint64_t native_id;
+#if MAC_OS_X_VERSION_MAX_ALLOWED < 1060
+    native_id = pthread_mach_thread_np(pthread_self());
+#elif MAC_OS_X_VERSION_MIN_REQUIRED < 1060
+    if (&pthread_threadid_np != NULL) {
+        (void) pthread_threadid_np(NULL, &native_id);
+    } else {
+        native_id = pthread_mach_thread_np(pthread_self());
+    }
+#else
     (void) pthread_threadid_np(NULL, &native_id);
+#endif
 #elif defined(__linux__)
     pid_t native_id;
     native_id = syscall(SYS_gettid);
@


1.3
log
@python39, python310: Fixes for Mac OS X 10.4 via MacPorts.
@
text
@d1 1
a1 1
$NetBSD: patch-Python_thread__pthread.h,v 1.2 2021/12/11 10:40:58 wiz Exp $
@


1.2
log
@python310: add upstream bug report URL
@
text
@d1 1
a1 1
$NetBSD: patch-Python_thread__pthread.h,v 1.1 2021/10/05 19:07:13 adam Exp $
d4 1
d6 1
a6 1
--- Python/thread_pthread.h.orig	2013-05-15 16:33:00.000000000 +0000
d8 1
a8 1
@@@@ -82,6 +82,9 @@@@
d18 18
@


1.1
log
@python310 py310-html-docs: added version 3.10.0

Python 3.10

Summary – Release highlights

New syntax features:

PEP 634, Structural Pattern Matching: Specification
PEP 635, Structural Pattern Matching: Motivation and Rationale
PEP 636, Structural Pattern Matching: Tutorial
bpo-12782, Parenthesized context managers are now officially allowed.

New features in the standard library:

PEP 618, Add Optional Length-Checking To zip.

Interpreter improvements:

PEP 626, Precise line numbers for debugging and other tools.

New typing features:

PEP 604, Allow writing union types as X | Y
PEP 613, Explicit Type Aliases
PEP 612, Parameter Specification Variables

Important deprecations, removals or restrictions:

PEP 644, Require OpenSSL 1.1.1 or newer
PEP 632, Deprecate distutils module.
PEP 623, Deprecate and prepare for the removal of the wstr member in PyUnicodeObject.
PEP 624, Remove Py_UNICODE encoder APIs
PEP 597, Add optional EncodingWarning
@
text
@d1 3
a3 1
$NetBSD: patch-Python_thread__pthread.h,v 1.1 2020/10/10 20:20:12 adam Exp $
@

