Package: libpython3.11-stdlib
Version: 3.11.1-2
Severity: normal
Dear Maintainer,
The following raises an exception:
```
$ python3.11 -c "import sqlite3; help(sqlite3)"
Traceback (most recent call last):
File "/usr/lib/python3.11/inspect.py", line 2222, in wrap_value
value = eval(s, module_dict)
^^^^^^^^^^^^^^^^^^^^
File "<string>", line 1, in <module>
NameError: name 'ConnectionType' is not defined. Did you mean: 'Connection'?
[...]
```
This is a regression, as it works fine with Python3.10.
typically "help(module)" won't be called in a script (but rather in the
CLI), so I think it's not a severe bug per se, but it might hint at some
deeper problem...
-- System Information:
Debian Release: bookworm/sid
APT prefers unstable-debug
APT policy: (500, 'unstable-debug'), (500, 'testing-debug'), (500,
'oldstable-updates'), (500, 'unstable'), (500, 'stable'), (500, 'oldstable'),
(1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 6.1.0-1-amd64 (SMP w/8 CPU threads; PREEMPT)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE,
TAINT_UNSIGNED_MODULE
Locale: LANG=C.UTF-8, LC_CTYPE=C.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 libpython3.11-stdlib depends on:
ii libbz2-1.0 1.0.8-5+b1
ii libc6 2.36-8
ii libcrypt1 1:4.4.33-2
ii libdb5.3 5.3.28+dfsg1-0.10
ii libffi8 3.4.4-1
ii liblzma5 5.4.0-0.1
ii libmpdec3 2.5.1-2
ii libncursesw6 6.4-1
ii libnsl2 1.3.0-2
ii libpython3.11-minimal 3.11.1-2
ii libreadline8 8.2-1.2
ii libsqlite3-0 3.40.1-1
ii libtinfo6 6.4-1
ii libtirpc3 1.3.3+ds-1
ii libuuid1 2.38.1-4
ii media-types 8.0.0
ii mime-support 3.66
libpython3.11-stdlib recommends no packages.
libpython3.11-stdlib suggests no packages.
-- no debconf information