diff options
author | Martin v. Löwis <martin@v.loewis.de> | 2003-03-30 20:57:31 (GMT) |
---|---|---|
committer | Martin v. Löwis <martin@v.loewis.de> | 2003-03-30 20:57:31 (GMT) |
commit | 3c5173c179b030580d61583cfab149a8eacd3d1a (patch) | |
tree | 357f9849d1dbfdf641a05bf785f78aaeca5a1cc4 /Python/pythonrun.c | |
parent | 31ec28bd648d4218998092deaacee965f3337359 (diff) | |
download | cpython-3c5173c179b030580d61583cfab149a8eacd3d1a.zip cpython-3c5173c179b030580d61583cfab149a8eacd3d1a.tar.gz cpython-3c5173c179b030580d61583cfab149a8eacd3d1a.tar.bz2 |
Patch #710576: Implement per-interpreter-state codec registries.
Diffstat (limited to 'Python/pythonrun.c')
-rw-r--r-- | Python/pythonrun.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/Python/pythonrun.c b/Python/pythonrun.c index 51d71e0..2f25bfb 100644 --- a/Python/pythonrun.c +++ b/Python/pythonrun.c @@ -49,8 +49,6 @@ int _Py_AskYesNo(char *prompt); extern void _PyUnicode_Init(void); extern void _PyUnicode_Fini(void); -extern void _PyCodecRegistry_Init(void); -extern void _PyCodecRegistry_Fini(void); int Py_DebugFlag; /* Needed by parser.c */ int Py_VerboseFlag; /* Needed by import.c */ @@ -133,9 +131,6 @@ Py_Initialize(void) if (interp->modules == NULL) Py_FatalError("Py_Initialize: can't make modules dictionary"); - /* Init codec registry */ - _PyCodecRegistry_Init(); - #ifdef Py_USING_UNICODE /* Init Unicode implementation; relies on the codec registry */ _PyUnicode_Init(); @@ -219,9 +214,6 @@ Py_Finalize(void) /* Disable signal handling */ PyOS_FiniInterrupts(); - /* Cleanup Codec registry */ - _PyCodecRegistry_Fini(); - /* Destroy all modules */ PyImport_Cleanup(); |