Georg Brandl <[EMAIL PROTECTED]> added the comment: These concerns indeed must be handled: On narrow unicode builds, chars > 0xffff must be converted to surrogates. In ranges, they should raise an error.
Additionally, this should at least raise an error too: >>> re.compile("[\U00100000]").match("\U00100000").group() '\udbc0' _______________________________________ Python tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue3665> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com