Hi, The locale category LC_CTYPE may affect character classification and case conversion.
That's the theory. Can you give a practical example where this locale setting matters? Eg.: locale.setlocale(locale.LC_CTYPE, loc) m = re.match("\d+", s, re.I | re.L) So with two different values for loc, and s is identical, there will or won't be a match. Thanks! Albert-Jan -- https://mail.python.org/mailman/listinfo/python-list