Christian Heimes <li...@cheimes.de> added the comment:

Could you please provide the outputs of the following commands:

python3 -c "import _ssl; print(_ssl.__file__)"

ldd $(python3.10 -c "import _ssl; print(_ssl.__file__)")

strace -e openat python3.10 -c "from urllib.request import urlopen; 
urlopen('https://www.python.org')"


The outputs look like this on my computer:

$ python3 -c "import _ssl; print(_ssl.__file__)"
/usr/lib64/python3.10/lib-dynload/_ssl.cpython-310-x86_64-linux-gnu.so
$ ldd $(python3.10 -c "import _ssl; print(_ssl.__file__)")
        linux-vdso.so.1 (0x00007ffd1a10e000)
        libssl.so.1.1 => /lib64/libssl.so.1.1 (0x00007ff838e17000)
        libcrypto.so.1.1 => /lib64/libcrypto.so.1.1 (0x00007ff838b29000)
        libc.so.6 => /lib64/libc.so.6 (0x00007ff83891f000)
        libz.so.1 => /lib64/libz.so.1 (0x00007ff838905000)
        /lib64/ld-linux-x86-64.so.2 (0x00007ff838f0b000)

$ strace -e openat python3.10 -c "from urllib.request import urlopen; 
urlopen('https://www.python.org')"
...
openat(AT_FDCWD, "/etc/pki/tls/openssl.cnf", O_RDONLY) = 3
openat(AT_FDCWD, "/etc/crypto-policies/back-ends/opensslcnf.config", O_RDONLY) 
= 4
openat(AT_FDCWD, "/etc/crypto-policies/back-ends/openssl.config", O_RDONLY) = 3
openat(AT_FDCWD, "/etc/pki/tls/cert.pem", O_RDONLY) = 3
...

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue46863>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to