diff Python/pythonrun.c @ 28462:a8d6576b95af 2.2

Patch #710576: Implement per-interpreter-state codec registries.
author Martin v. Löwis <martin@v.loewis.de>
date Sun, 30 Mar 2003 20:57:31 +0000
parents f6e46585b6b3
children
line wrap: on
line diff
--- a/Python/pythonrun.c	Sun Mar 30 20:31:49 2003 +0000
+++ b/Python/pythonrun.c	Sun Mar 30 20:57:31 2003 +0000
@@ -49,8 +49,6 @@
 
 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 @@
 	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 @@
 	/* Disable signal handling */
 	PyOS_FiniInterrupts();
 
-	/* Cleanup Codec registry */
-	_PyCodecRegistry_Fini();
-
 	/* Destroy all modules */
 	PyImport_Cleanup();