Package: python3.12
Version: 3.12.0-1
Severity: important
Tags: patch

Hello,

The hurd_kfreebsd_thread_native_id.diff patch was disabled in python3.12
because it needed refreshing. For information, I pinged upstream about
it (it was lingering for 4 years...),

https://github.com/python/cpython/pull/111761

the kfreebsd part of it got merged, but the hurd part of it does not
actually make sense because the thread_native_id is supposed to be
unique among the whole system, which the hurd port name is not. We
should thus rather make PyThread_get_thread_native_id appear only on
Linux. I have attached a patch that does this.

Samuel

-- System Information:
Debian Release: trixie/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable-debug'), (500, 
'testing-debug'), (500, 'stable-security'), (500, 'stable-debug'), (500, 
'oldstable-proposed-updates-debug'), (500, 'oldstable-proposed-updates'), (500, 
'oldoldstable-proposed-updates'), (500, 'oldoldstable'), (500, 
'buildd-unstable'), (500, 'unstable'), (500, 'stable'), (500, 'oldstable'), (1, 
'experimental-debug'), (1, 'buildd-experimental'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386, arm64

Kernel: Linux 6.5.0-1-amd64 (SMP w/8 CPU threads; PREEMPT)
Kernel taint flags: TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages python3.12 depends on:
ii  libpython3.12-stdlib  3.12.0-1
ii  media-types           10.1.0
ii  mime-support          3.66
ii  python3.12-minimal    3.12.0-1
ii  tzdata                2023c-10

Versions of packages python3.12 recommends:
ii  ca-certificates  20230311

Versions of packages python3.12 suggests:
ii  binutils         2.41-6
pn  python3.12-doc   <none>
pn  python3.12-venv  <none>

-- no debconf information

-- 
Samuel
---
Pour une évaluation indépendante, transparente et rigoureuse !
Je soutiens la Commission d'Évaluation de l'Inria.
--- debian/libpython.symbols.in.original        2023-11-12 00:11:28.000000000 
+0100
+++ debian/libpython.symbols.in 2023-11-12 00:11:33.000000000 +0100
@@ -870,7 +870,7 @@
  PyThread_get_key_value@Base @SVER@
  PyThread_get_stacksize@Base @SVER@
  PyThread_get_thread_ident@Base @SVER@
- PyThread_get_thread_native_id@Base @SVER@
+ (arch=linux-any)PyThread_get_thread_native_id@Base @SVER@
  PyThread_init_thread@Base @SVER@
  PyThread_release_lock@Base @SVER@
  PyThread_set_key_value@Base @SVER@

Reply via email to