diff options
author | Serhiy Storchaka <storchaka@gmail.com> | 2016-11-12 14:35:46 +0200 |
---|---|---|
committer | Serhiy Storchaka <storchaka@gmail.com> | 2016-11-12 14:35:46 +0200 |
commit | b51bd875193c84e51afb907a0c8ff6091fc95d5f (patch) | |
tree | d2e3c85d92f1ae680f0c90b4b4fc88cce58ecba0 /Python/frozen.c | |
parent | e7ed9c7bd2204dd48d67eb7b14813c0338a85a0c (diff) | |
parent | f246749b9aa9cdb1f05eca29b7eef6a04e05fc8b (diff) | |
download | cpython-b51bd875193c84e51afb907a0c8ff6091fc95d5f.tar.gz |
Issue #28648: Fixed crash in Py_DecodeLocale() in debug build on Mac OS X
when decode astral characters.
Diffstat (limited to 'Python/frozen.c')
-rw-r--r-- | Python/frozen.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Python/frozen.c b/Python/frozen.c index 9bc662b994..676f395488 100644 --- a/Python/frozen.c +++ b/Python/frozen.c @@ -3,6 +3,7 @@ #include "Python.h" #include "importlib.h" +#include "importlib_external.h" /* In order to test the support for frozen modules, by default we define a single frozen module, __hello__. Loading it will print @@ -31,6 +32,8 @@ static unsigned char M___hello__[] = { static const struct _frozen _PyImport_FrozenModules[] = { /* importlib */ {"_frozen_importlib", _Py_M__importlib, (int)sizeof(_Py_M__importlib)}, + {"_frozen_importlib_external", _Py_M__importlib_external, + (int)sizeof(_Py_M__importlib_external)}, /* Test module */ {"__hello__", M___hello__, SIZE}, /* Test package (negative size indicates package-ness) */ |