comparison Python/codecs.c @ 19178:ca12e1e333ea legacy-trunk

Patch by Jonathan Wight (slightly reformatted) to forestall loading the same module twice, which apparently crashes Python. I could not test the error condition, but in normal life it seems to have no adverse effects. Also removed an unsued variable, and corrected 2 glaring errors (missing 'case' in front of a label).
author Jack Jansen <jack.jansen@cwi.nl>
date Sat, 11 Aug 2001 21:54:11 +0000
parents 25ddd3dc7a7a
children 898304f6da23 416654e27d88
comparison
equal deleted inserted replaced
19177:50f88ee71d45 19178:ca12e1e333ea