summaryrefslogtreecommitdiff
path: root/Python/frozen.c
diff options
context:
space:
mode:
authorLars Gust?bel <lars@gustaebel.de>2015-07-02 19:41:03 +0200
committerLars Gust?bel <lars@gustaebel.de>2015-07-02 19:41:03 +0200
commita0333aa657baeb3738a8c2fe211168cb1dbab8ac (patch)
tree9d48b355036c218e706d4e0c698fc3586673bd5b /Python/frozen.c
parente8c3a8aa583475fa33dd8b74959193217cb56933 (diff)
parentc6050850b5f399a24702795515d02fdf06b01b4f (diff)
downloadcpython-a0333aa657baeb3738a8c2fe211168cb1dbab8ac.tar.gz
Merge with 3.4: Issue #24514: tarfile now tolerates number fields consisting of only whitespace.
Diffstat (limited to 'Python/frozen.c')
-rw-r--r--Python/frozen.c3
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) */