[issue42339] official embedded Python fails to import certain modules

2020-11-16 Thread Jelle Geerts
Jelle Geerts added the comment: Thanks to you too, Steve! *tips imaginary hat* -- ___ Python tracker ___ ___ Python-bugs-list maili

[issue42339] official embedded Python fails to import certain modules

2020-11-16 Thread Steve Dower
Steve Dower added the comment: I added a note to the 3.8 docs. Pretty sure there's another open issue about improving FormatMessage, and if not, one can be opened. Thanks for the report, Jelle, and for helping us figure it out! -- components: +Documentation resolution: -> fixed sta

[issue42339] official embedded Python fails to import certain modules

2020-11-16 Thread Steve Dower
Steve Dower added the comment: New changeset fa86614078f1f700f350f98486dddf83587ab69e by Steve Dower in branch '3.8': bpo-42339: Adds note about KB2533623 to embeddable package docs (GH-23322) https://github.com/python/cpython/commit/fa86614078f1f700f350f98486dddf83587ab69e --

[issue42339] official embedded Python fails to import certain modules

2020-11-16 Thread Steve Dower
Change by Steve Dower : -- pull_requests: +22214 pull_request: https://github.com/python/cpython/pull/23322 ___ Python tracker ___ _

[issue42339] official embedded Python fails to import certain modules

2020-11-14 Thread Jelle Geerts
Jelle Geerts added the comment: > Mixed-language output is awkward. A common _Py_FormatMessage function could > be added in 3.10 that tries getting an error message in English before trying > to get it in the user's default language. I agree that in general mixed-language can be odd. But I g

[issue42339] official embedded Python fails to import certain modules

2020-11-14 Thread Eryk Sun
Eryk Sun added the comment: > maybe there's a list of updates (or FAQ) to which you > want to add KB3063858? The documentation of the embeddable package [1] could highlight the need for KB2533623. Currently it's directly mentioned only in "What's New in Python 3.8" [2]. > ImportError: DLL

[issue42339] official embedded Python fails to import certain modules

2020-11-14 Thread Jelle Geerts
Jelle Geerts added the comment: Problem still occurs with newer KB3118401 installed (instead of KB2999226). But good news: Installing update KB3063858 (or the older KB2533623) resolves the issue. That update adds the new kernel32.dll functions SetDefaultDllDirectories, AddDllDirectory, and

[issue42339] official embedded Python fails to import certain modules

2020-11-13 Thread Steve Dower
Steve Dower added the comment: Sorry about the PR mess - copied the wrong issue number down, though I am looking at this one right now. My suspicion is something in the newer vcruntime140_1.dll is to blame - does it work with Python 3.9? You might need to update to KB3118401 [1], though I w

[issue42339] official embedded Python fails to import certain modules

2020-11-13 Thread Steve Dower
Change by Steve Dower : -- pull_requests: -22167 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mai

[issue42339] official embedded Python fails to import certain modules

2020-11-13 Thread Steve Dower
Change by Steve Dower : -- keywords: +patch pull_requests: +22167 stage: -> patch review pull_request: https://github.com/python/cpython/pull/23271 ___ Python tracker ___

[issue42339] official embedded Python fails to import certain modules

2020-11-12 Thread Christian Heimes
Change by Christian Heimes : -- assignee: -> steve.dower components: +Windows nosy: +paul.moore, steve.dower, tim.golden, zach.ware ___ Python tracker ___

[issue42339] official embedded Python fails to import certain modules

2020-11-12 Thread Jelle Geerts
New submission from Jelle Geerts : This problem happened with 'python-3.8.6-embed-amd64.zip' when trying to import certain modules. Note that this problem does NOT happen with Python from 'python-3.7.9-embed-amd64.zip' (its output is also attached below). It happened with 'import socket', 'i