[Zope-Checkins] CVS: Zope/lib/python/StructuredText - STletters.py:1.2.10.3

Andreas Jung andreas@zope.com
Wed, 12 Sep 2001 19:46:59 -0400


Update of /cvs-repository/Zope/lib/python/StructuredText
In directory cvs.zope.org:/tmp/cvs-serv27400

Modified Files:
      Tag: Zope-2_4-branch
	STletters.py 
Log Message:
Locale support for STXNG has been broken. Resetting the locale
settings is not a good idea. string.letters delivers also locale
base characters when the locale module is not included.


=== Zope/lib/python/StructuredText/STletters.py 1.2.10.2 => 1.2.10.3 ===
-try:
-    del string
-    import locale
-    locale.setlocale(locale.LC_ALL,"")
-except:
-    pass    
-
-import string
 
 def punc_func(exclude):
     punc = r''