python/dist/src/Lib/idlelib IOBinding.py, 1.20, 1.21
Update of /cvsroot/python/python/dist/src/Lib/idlelib In directory sc8-pr-cvs1:/tmp/cvs-serv27403/Lib/idlelib Modified Files: IOBinding.py Log Message: Catch locale.error as well. Fixes #788378. Will backport to 2.3. Index: IOBinding.py =================================================================== RCS file: /cvsroot/python/python/dist/src/Lib/idlelib/IOBinding.py,v retrieving revision 1.20 retrieving revision 1.21 diff -C2 -d -r1.20 -r1.21 *** IOBinding.py 5 Aug 2003 05:51:20 -0000 1.20 --- IOBinding.py 3 Sep 2003 05:13:14 -0000 1.21 *************** *** 30,34 **** import locale locale.setlocale(locale.LC_CTYPE, "") ! except ImportError: pass --- 30,34 ---- import locale locale.setlocale(locale.LC_CTYPE, "") ! except (ImportError, locale.error): pass
participants (1)
-
loewis@users.sourceforge.net