This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author xtreak
Recipients Jonathan.Gossage, ammar2, christian.heimes, xtreak
Date 2019-09-16.18:26:14
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1568658375.14.0.0419068841666.issue38189@roundup.psfhosted.org>
In-reply-to
Content
I guess it's due to the binary not being built with ssl module. During build did you get a message like below ? 


Could not build the ssl module!
Python requires an OpenSSL 1.0.2 or 1.1 compatible libssl with X509_VERIFY_PARAM_set1_host().
LibreSSL 2.6.4 and earlier do not provide the necessary APIs, https://github.com/libressl-portable/portable/issues/381

In the REPL you can verify it by trying to import ssl module that would fail if python was not built with ssl

./python.exe
Python 3.9.0a0 (heads/pr_16148:1a801bd50d, Sep 16 2019, 22:15:26)
[Clang 7.0.2 (clang-700.1.81)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> import ssl
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/Users/karthikeyansingaravelan/stuff/python/cpython/Lib/ssl.py", line 98, in <module>
    import _ssl             # if we can't import it, let the error propagate
ModuleNotFoundError: No module named '_ssl'
History
Date User Action Args
2019-09-16 18:26:15xtreaksetrecipients: + xtreak, christian.heimes, Jonathan.Gossage, ammar2
2019-09-16 18:26:15xtreaksetmessageid: <1568658375.14.0.0419068841666.issue38189@roundup.psfhosted.org>
2019-09-16 18:26:15xtreaklinkissue38189 messages
2019-09-16 18:26:14xtreakcreate