From 5681acbf94deeac2beaefbc576c77f51b2b8f59e Mon Sep 17 00:00:00 2001 From: Jack Jansen Date: Mon, 30 Dec 2002 23:11:30 +0000 Subject: [PATCH] Added zipimport and _random module. --- Mac/Build/PythonCore.mcp | Bin 173876 -> 173876 bytes Mac/Build/PythonStandSmall.mcp | Bin 341689 -> 341689 bytes Mac/Modules/macconfig.c | 4 ++++ 3 files changed, 4 insertions(+) diff --git a/Mac/Build/PythonCore.mcp b/Mac/Build/PythonCore.mcp index 1f96f48736e44b03e0e0bf117c09b922a44cb5c4..7e721ee7a8503992927de3e0b991b6551007feff 100644 GIT binary patch delta 463 zcmdmTj%&*~t_{pWLX1WX3=DUG_$>niqal!fKhe=ljnNp$b6{W)_`|>;0u%)C5r9#B zi8qr5yTRr{p<67x%|M9`P9Ooq-!?~x_X!ILJOF9|84LshA3)kCIxgHiQ`>|`v>qrF z0K|bn90bJaK%6o8k-0Ks(_|(KecMbRKMRPnfw&xqbAUJ(i1UCrABYQpxCDp`fw%~W zi-EWlh|7RDc=AF{`OOn8cFC}tO{n|-fAx{gL7^vECd)^)aDD;0?km`ZE26T6*vuwW z0nOel`0O|1W|90gvQqIyiFqmcxw-i%r8%j3$qZGQ1(~@8`9&pqlN*mGZobg7jA`-% zE0)bq`&F44l_zsgey(}e&C|yfXyhCy{S``ogVO7u^q0-tQ`R!FFiE|hFws#IXv&Sv zJEv7F*dA%lxPX=Q3n-|j7gREdPu~5JlLO>TP=KL`d;@y!E?lJD&6aVyn=RAc7)GA$ JEVGylcmWq%e69ch delta 370 zcmdmTj%&*~t_{pWYz%i87#QA878J6Y7{H;%Xvo08=)k}r@PL6q1SkRIb2~6N0!0{v z8W6uQO2+Xxiw-~ln}b46vM|n`ED_bt`Wft=6;atjY`X9I85p!CD?Uuz zoKQTAakEJN8rkWl{}`pWFF3-;#yt6f70c$Q{i@82ij%n~KbM^C=IP@K)O{98&wjm?Tc3fuL}85groUunar0Vdi#Z5g+F R+A{5mVPx6PGKOC-Q>ucf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/macconfig.c @@ -167,6 +167,7 @@ extern void init_hotshot(); extern void initpyexpat(); #endif extern void initgc(); +extern void init_random(); extern void initcPickle(); extern void initcStringIO(); @@ -175,6 +176,7 @@ extern void initsha(); extern void init_locale(); extern void init_sre(); extern void initxreadlines(); +extern void initzipimport(); /* -- ADDMODULE MARKER 1 -- */ extern void PyMarshal_Init(); @@ -292,11 +294,13 @@ struct _inittab _PyImport_Inittab[] = { {"pyexpat", initpyexpat}, #endif {"gc", initgc}, + {"_random", init_random}, {"cPickle", initcPickle}, {"cStringIO", initcStringIO}, {"_locale", init_locale}, {"_sre", init_sre}, {"xreadlines", initxreadlines}, + {"zipimport", initzipimport}, /* -- ADDMODULE MARKER 2 -- */ /* This module "lives in" with marshal.c */