Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.maint.python > #14602 > unrolled thread
| Started by | Julien Palard <julien@palard.fr> |
|---|---|
| First post | 2022-11-04 16:20 +0100 |
| Last post | 2022-11-04 16:20 +0100 |
| Articles | 1 — 1 participant |
Back to article view | Back to linux.debian.maint.python
Python policy about /usr/lib/pythonXY.zip Julien Palard <julien@palard.fr> - 2022-11-04 16:20 +0100
| From | Julien Palard <julien@palard.fr> |
|---|---|
| Date | 2022-11-04 16:20 +0100 |
| Subject | Python policy about /usr/lib/pythonXY.zip |
| Message-ID | <Fo6E9-1mio-3@gated-at.bofh.it> |
The Python Policy document [1] states:
> For all supported Debian releases, sys.path does not include a /usr/lib/pythonXY.zip entry.
I may not understand the sentence, or something, because it looks wrong to me as pythonXY looks to be in sys.path, at least on my Debian bookworm:
$ /usr/bin/python3.10 -c 'print(__import__("sys").path)'
['', '/usr/lib/python310.zip', ...
$ /usr/bin/python3.10 -S -c 'print(__import__("sys").path)'
['', '/usr/lib/python310.zip', ...
Any idea of what's wrong here?
[1]: https://www.debian.org/doc/packaging-manuals/python-policy/
--
[Julien Palard](https://mdk.fr)
Back to top | Article view | linux.debian.maint.python
csiph-web