Plan 9 from Bell Labs’s /usr/web/sources/contrib/stallion/root/arm/lib/python2.7/config/config.c

Copyright © 2021 Plan 9 Foundation.
Distributed under the MIT License.
Download the Plan 9 distribution.


/* Module configuration */

/* This file contains the table of built-in modules.
   See init_builtin() in import.c. */

#include "Python.h"
extern void init_ast(void);
extern void initimp(void);
extern void init_bisect(void);
extern void init_collections(void);
extern void init_csv(void);
extern void init_elementtree(void);
extern void init_functools(void);
extern void init_hashlib(void);
extern void init_heapq(void);
extern void init_json(void);
extern void init_locale(void);
extern void init_lsprof(void);
extern void init_random(void);
extern void init_ssl(void);
extern void init_struct(void);
extern void init_testcapi(void);
extern void initarray(void);
extern void initbinascii(void);
extern void initbz2(void);
extern void initcPickle(void);
extern void initcStringIO(void);
extern void initcmath(void);
extern void initdatetime(void);
extern void initfcntl(void);
extern void initfpectl(void);
extern void initfpetest(void);
extern void initgrp(void);
extern void inititertools(void);
extern void initmath(void);
extern void initoperator(void);
extern void initparser(void);
extern void initplan9(void);
extern void initposix(void);
extern void initpure(void);
extern void initpyexpat(void);
extern void initselect(void);
extern void init_socket(void);
extern void init_sockobject(void);
extern void initstrop(void);
extern void inittime(void);
extern void inittiming(void);
extern void initunicodedata(void);
extern void initzlib(void);
extern void init_codecs_cn(void);
extern void init_codecs_hk(void);
extern void init_codecs_iso2022(void);
extern void init_codecs_jp(void);
extern void init_codecs_kr(void);
extern void init_codecs_tw(void);
extern void init_multibytecodec(void);
extern void init_io(void);
extern void initgc(void);
extern void initthread(void);
extern void initsignal(void);
extern void initerrno(void);
extern void initpwd(void);
extern void init_sre(void);
extern void init_codecs(void);
extern void init_weakref(void);
extern void initzipimport(void);
extern void init_symtable(void);
extern void initxxsubtype(void);

extern void PyMarshal_Init(void);
extern void initimp(void);
extern void initgc(void);
extern void init_ast(void);
extern void _PyWarnings_Init(void);

struct _inittab _PyImport_Inittab[] = {

	{"_ast", init_ast},
	{"imp", initimp},
	{"_bisect", init_bisect},
	{"_collections", init_collections},
	{"_csv", init_csv},
	{"_elementtree", init_elementtree},
	{"_functools", init_functools},
	{"_hashlib", init_hashlib},
	{"_heapq", init_heapq},
	{"_json", init_json},
	{"_locale", init_locale},
	{"_lsprof", init_lsprof},
	{"_random", init_random},
	{"_ssl", init_ssl},
	{"_struct", init_struct},
	{"_testcapi", init_testcapi},
	{"array", initarray},
	{"binascii", initbinascii},
	{"bz2", initbz2},
	{"cPickle", initcPickle},
	{"cStringIO", initcStringIO},
	{"cmath", initcmath},
	{"datetime", initdatetime},
	{"fcntl", initfcntl},
	{"fpectl", initfpectl},
	{"fpetest", initfpetest},
	{"grp", initgrp},
	{"itertools", inititertools},
	{"math", initmath},
	{"operator", initoperator},
	{"parser", initparser},
	{"plan9", initplan9},
	{"posix", initposix},
	{"pure", initpure},
	{"pyexpat", initpyexpat},
	{"select", initselect},
	{"_socket", init_socket},
	{"_sockobject", init_sockobject},
	{"strop", initstrop},
	{"time", inittime},
	{"timing", inittiming},
	{"unicodedata", initunicodedata},
	{"zlib", initzlib},
	{"_codecs_cn", init_codecs_cn},
	{"_codecs_hk", init_codecs_hk},
	{"_codecs_iso2022", init_codecs_iso2022},
	{"_codecs_jp", init_codecs_jp},
	{"_codecs_kr", init_codecs_kr},
	{"_codecs_tw", init_codecs_tw},
	{"_multibytecodec", init_multibytecodec},
	{"_io", init_io},
	{"gc", initgc},
	{"thread", initthread},
	{"signal", initsignal},
	{"errno", initerrno},
	{"pwd", initpwd},
	{"_sre", init_sre},
	{"_codecs", init_codecs},
	{"_weakref", init_weakref},
	{"zipimport", initzipimport},
	{"_symtable", init_symtable},
	{"xxsubtype", initxxsubtype},

    /* This module lives in marshal.c */
    {"marshal", PyMarshal_Init},

    /* This lives in import.c */
    {"imp", initimp},

    /* This lives in Python/Python-ast.c */
    {"_ast", init_ast},

    /* These entries are here for sys.builtin_module_names */
    {"__main__", NULL},
    {"__builtin__", NULL},
    {"sys", NULL},
    {"exceptions", NULL},

    /* This lives in gcmodule.c */
    {"gc", initgc},

    /* This lives in _warnings.c */
    {"_warnings", _PyWarnings_Init},

    /* Sentinel */
    {0, 0}
};

Bell Labs OSI certified Powered by Plan 9

(Return to Plan 9 Home Page)

Copyright © 2021 Plan 9 Foundation. All Rights Reserved.
Comments to [email protected].