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 Ajaya
Recipients Ajaya, paul.moore, steve.dower, tim.golden, zach.ware
Date 2020-01-15.13:35:53
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1579095353.91.0.817394645763.issue39344@roundup.psfhosted.org>
In-reply-to
Content
We have built python3.7.5 and python3.8.1 source code in windows 10 machine. I have created an embedded interptreter where i am trying to "import ssl" but it is failing with error "Journal execution results for D:\workdir\PR\9616145\9616145\journal.py...
Syntax errors:
Line 98: Traceback (most recent call last):
  File "D:\workdir\PR\9616145\9616145\journal.py", line 1, in <module>
    import ssl
  File "<frozen zipimport>", line 259, in load_module
  File "D:\workdir\PR\PRUnits\PythonIssuefix381\wntx64\kits\nxbin\python\Python38.zip\ssl.py", line 98, in <module>
    import _ssl             # if we can't import it, let the error propagate
ImportError: DLL load failed while importing _ssl: The specified module could not be found."

This error was coming from python 3.7.4 and it was working fine till python 3.7.3. 

There is also one work around if i replaced _ssl.pyd with python3.7.3 _ssl.pyd it is working fine. I also found python 3.7.3 is using openssl-1.1.1c where as python3.7.5 and python3.8.1 is using openssl- 1.1.1d.

I have also checked in using python 3.7.5  installing  and import ssl is working fine. I have also checked that _ssl.pyd in installer  and _ssl.pyd is created by manually built size is different.

I am not getting the exact root cause what has happened. Could you please me i have already stucked  and not able to work.
History
Date User Action Args
2020-01-15 13:35:53Ajayasetrecipients: + Ajaya, paul.moore, tim.golden, zach.ware, steve.dower
2020-01-15 13:35:53Ajayasetmessageid: <1579095353.91.0.817394645763.issue39344@roundup.psfhosted.org>
2020-01-15 13:35:53Ajayalinkissue39344 messages
2020-01-15 13:35:53Ajayacreate