Ignore:
Timestamp:
Mar 19, 2014, 11:11:30 AM (11 years ago)
Author:
dmik
Message:

python: Update vendor to 2.7.6.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • python/vendor/current/PC/config.c

    r2 r388  
    5353extern void init_struct(void);
    5454extern void initdatetime(void);
    55 extern void init_fileio(void);
    56 extern void init_bytesio(void);
    5755extern void init_functools(void);
    5856extern void init_json(void);
     
    6967extern void init_lsprof(void);
    7068extern void init_ast(void);
     69extern void init_io(void);
    7170extern void _PyWarnings_Init(void);
    7271
     
    7978struct _inittab _PyImport_Inittab[] = {
    8079
    81         {"array", initarray},
    82         {"_ast", init_ast},
     80    {"array", initarray},
     81    {"_ast", init_ast},
    8382#ifdef MS_WINDOWS
    8483#ifndef MS_WINI64
    85         {"audioop", initaudioop},
     84    {"audioop", initaudioop},
    8685#endif
    8786#endif
    88         {"binascii", initbinascii},
    89         {"cmath", initcmath},
    90         {"errno", initerrno},
    91         {"future_builtins", initfuture_builtins},
    92         {"gc", initgc},
     87    {"binascii", initbinascii},
     88    {"cmath", initcmath},
     89    {"errno", initerrno},
     90    {"future_builtins", initfuture_builtins},
     91    {"gc", initgc},
    9392#ifndef MS_WINI64
    94         {"imageop", initimageop},
     93    {"imageop", initimageop},
    9594#endif
    96         {"math", initmath},
    97         {"_md5", init_md5},
    98         {"nt", initnt}, /* Use the NT os functions, not posix */
    99         {"operator", initoperator},
    100         {"signal", initsignal},
    101         {"_sha", init_sha},
    102         {"_sha256", init_sha256},
    103         {"_sha512", init_sha512},
    104         {"strop", initstrop},
    105         {"time", inittime},
     95    {"math", initmath},
     96    {"_md5", init_md5},
     97    {"nt", initnt}, /* Use the NT os functions, not posix */
     98    {"operator", initoperator},
     99    {"signal", initsignal},
     100    {"_sha", init_sha},
     101    {"_sha256", init_sha256},
     102    {"_sha512", init_sha512},
     103    {"strop", initstrop},
     104    {"time", inittime},
    106105#ifdef WITH_THREAD
    107         {"thread", initthread},
     106    {"thread", initthread},
    108107#endif
    109         {"cStringIO", initcStringIO},
    110         {"cPickle", initcPickle},
     108    {"cStringIO", initcStringIO},
     109    {"cPickle", initcPickle},
    111110#ifdef WIN32
    112         {"msvcrt", initmsvcrt},
    113         {"_locale", init_locale},
     111    {"msvcrt", initmsvcrt},
     112    {"_locale", init_locale},
    114113#endif
    115         /* XXX Should _subprocess go in a WIN32 block?  not WIN64? */
    116         {"_subprocess", init_subprocess},
     114    /* XXX Should _subprocess go in a WIN32 block?  not WIN64? */
     115    {"_subprocess", init_subprocess},
    117116
    118         {"_codecs", init_codecs},
    119         {"_weakref", init_weakref},
    120         {"_hotshot", init_hotshot},
    121         {"_random", init_random},
    122         {"_bisect", init_bisect},
    123         {"_heapq", init_heapq},
    124         {"_lsprof", init_lsprof},
    125         {"itertools", inititertools},
    126         {"_collections", init_collections},
    127         {"_symtable", init_symtable},
    128         {"mmap", initmmap},
    129         {"_csv", init_csv},
    130         {"_sre", init_sre},
    131         {"parser", initparser},
    132         {"_winreg", init_winreg},
    133         {"_struct", init_struct},
    134         {"datetime", initdatetime},
    135         {"_fileio", init_fileio},
    136         {"_bytesio", init_bytesio},
    137         {"_functools", init_functools},
    138         {"_json", init_json},
     117    {"_codecs", init_codecs},
     118    {"_weakref", init_weakref},
     119    {"_hotshot", init_hotshot},
     120    {"_random", init_random},
     121    {"_bisect", init_bisect},
     122    {"_heapq", init_heapq},
     123    {"_lsprof", init_lsprof},
     124    {"itertools", inititertools},
     125    {"_collections", init_collections},
     126    {"_symtable", init_symtable},
     127    {"mmap", initmmap},
     128    {"_csv", init_csv},
     129    {"_sre", init_sre},
     130    {"parser", initparser},
     131    {"_winreg", init_winreg},
     132    {"_struct", init_struct},
     133    {"datetime", initdatetime},
     134    {"_functools", init_functools},
     135    {"_json", init_json},
    139136
    140         {"xxsubtype", initxxsubtype},
    141         {"zipimport", initzipimport},
    142         {"zlib", initzlib},
    143        
    144         /* CJK codecs */
    145         {"_multibytecodec", init_multibytecodec},
    146         {"_codecs_cn", init_codecs_cn},
    147         {"_codecs_hk", init_codecs_hk},
    148         {"_codecs_iso2022", init_codecs_iso2022},
    149         {"_codecs_jp", init_codecs_jp},
    150         {"_codecs_kr", init_codecs_kr},
    151         {"_codecs_tw", init_codecs_tw},
     137    {"xxsubtype", initxxsubtype},
     138    {"zipimport", initzipimport},
     139    {"zlib", initzlib},
     140
     141    /* CJK codecs */
     142    {"_multibytecodec", init_multibytecodec},
     143    {"_codecs_cn", init_codecs_cn},
     144    {"_codecs_hk", init_codecs_hk},
     145    {"_codecs_iso2022", init_codecs_iso2022},
     146    {"_codecs_jp", init_codecs_jp},
     147    {"_codecs_kr", init_codecs_kr},
     148    {"_codecs_tw", init_codecs_tw},
    152149
    153150/* tools/freeze/makeconfig.py marker for additional "_inittab" entries */
    154151/* -- ADDMODULE MARKER 2 -- */
    155152
    156         /* This module "lives in" with marshal.c */
    157         {"marshal", PyMarshal_Init},
     153    /* This module "lives in" with marshal.c */
     154    {"marshal", PyMarshal_Init},
    158155
    159         /* This lives it with import.c */
    160         {"imp", initimp},
     156    /* This lives it with import.c */
     157    {"imp", initimp},
    161158
    162         /* These entries are here for sys.builtin_module_names */
    163         {"__main__", NULL},
    164         {"__builtin__", NULL},
    165         {"sys", NULL},
    166         {"exceptions", NULL},
    167         {"_warnings", _PyWarnings_Init},
     159    /* These entries are here for sys.builtin_module_names */
     160    {"__main__", NULL},
     161    {"__builtin__", NULL},
     162    {"sys", NULL},
     163    {"exceptions", NULL},
     164    {"_warnings", _PyWarnings_Init},
    168165
    169         /* Sentinel */
    170         {0, 0}
     166    {"_io", init_io},
     167
     168    /* Sentinel */
     169    {0, 0}
    171170};
Note: See TracChangeset for help on using the changeset viewer.