[issue42339] official embedded Python fails to import certain modules

Jelle Geerts report at bugs.python.org
Sat Nov 14 15:56:57 EST 2020


Jelle Geerts <jellegeerts at gmail.com> 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 guess you could also argue it's useful that Python doesn't add another layer of complexity, and simply uses the system's own FormatMessage() function, also because developers are already used to seeing such messages in other applications as well. Just playing devil's advocate here.

At the same time, I feel it would be helpful to users if there would, in this specific case, be a more helpful message as well (alongside the same error that is already shown), something that points more directly in the direction of the solution.

> 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].

That would be helpful.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue42339>
_______________________________________


More information about the Python-bugs-list mailing list