Bug#1104971: python3: mistake in text for PYTHON_HISTORY/PYTHON_GIL in python3 man page

2025-05-09 Thread richardn
Package: python3
Version: 3.13.3-1
Severity: minor
X-Debbugs-Cc: richard...@gmail.com

In the python3 man page, for ENVIRONMENT VARIABLES

   PYTHON_GIL
  If  this variable is set to 1, the global interpreter lock (GIL)
  will be forced on. Setting it to 0  forces  the  GIL  off.  Only
  available in builds configured with --disable-gil.

   PYTHON_HISTORY
  This  environment  variable can be used to set the location of a
  history file (on Unix, it is ~/.python_history by default).

  This is equivalent to the -X gil option.

The "-X gil option" should appear under PYTHON_GIL, not PYTHON_HISTORY


-- System Information:
Debian Release: trixie/sid
  APT prefers stable-security
  APT policy: (500, 'stable-security'), (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 6.12.25-amd64 (SMP w/8 CPU threads; PREEMPT)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8), 
LANGUAGE=en_GB:en
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages python3 depends on:
ii  libpython3-stdlib  3.13.3-1
ii  python3-minimal3.13.3-1
ii  python3.13 3.13.3-2

python3 recommends no packages.

Versions of packages python3 suggests:
pn  python3-doc   
pn  python3-tk
pn  python3-venv  

-- no debconf information



Bug#1104971: python3: mistake in text for PYTHON_HISTORY/PYTHON_GIL in python3 man page

2025-05-09 Thread Stefano Rivera

Control: forwarded -1 https://github.com/python/cpython/pull/133753

Thanks, that's my mistake!

Stefano

--
Stefano Rivera
  http://tumbleweed.org.za/
  +1 415 683 3272