• Python policy about /usr/lib/pythonXY.zip

    From Julien Palard@21:1/5 to All on Fri Nov 4 16:20:01 2022
    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)

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)