summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Lib/locale.py11
-rw-r--r--Lib/re.py16
2 files changed, 7 insertions, 20 deletions
diff --git a/Lib/locale.py b/Lib/locale.py
index 81190be..9078eed 100644
--- a/Lib/locale.py
+++ b/Lib/locale.py
@@ -190,7 +190,7 @@ def _test():
### Locale name aliasing engine
# Author: Marc-Andre Lemburg, mal@lemburg.com
-# Various tweaks by Fredrik Lundh <effbot@telia.com>
+# Various tweaks by Fredrik Lundh <fredrik@pythonware.com>
# store away the low-level version of setlocale (it's
# overridden below)
@@ -623,9 +623,12 @@ locale_alias = {
# this maps windows language identifiers (as used on Windows 95 and
# earlier) to locale strings.
#
-# NOTE: this mapping is incomplete. If your language is missing, send
-# a note with the missing language identifier and the suggested locale
-# code to Fredrik Lundh <effbot@telia.com>. Thanks /F
+# NOTE: this mapping is incomplete. If your language is missing, please
+# submit a bug report to Python bug manager, which you can find via:
+# http://www.python.org/dev/
+# Make sure you include the missing language identifier and the suggested
+# locale code.
+#
windows_locale = {
0x0404: "zh_TW", # Chinese (Taiwan)
diff --git a/Lib/re.py b/Lib/re.py
index efc1ded..b91aec7 100644
--- a/Lib/re.py
+++ b/Lib/re.py
@@ -1,21 +1,5 @@
"""Minimal "re" compatibility wrapper"""
-# To help us fix any remaining bugs in the new engine, please
-# report what went wrong. You can either use the following web
-# page:
-#
-# http://sourceforge.net/bugs/?group_id=5470
-#
-# or send a mail to SRE's author:
-#
-# Fredrik Lundh <effbot@telia.com>
-#
-# Make sure to include the pattern, the string SRE failed to
-# match, and what result you expected.
-#
-# thanks /F
-#
-
engine = "sre" # Some apps might use this undocumented variable
from sre import *