New submission from STINNER Victor <[email protected]>:
The following comment is wrong,
except IndexError:
# non-BMP characters; XXX now they should work
return charset
sys.maxunicode != 65535 is now always true in Python 3.3
if sys.maxunicode != 65535:
# XXX: negation does not work with big charsets
# XXX2: now they should work, but removing this will make the
# charmap 17 times bigger
return charset
See the related commit: f39b26ca7f3d (from issue #13054).
----------
components: Library (Lib), Regular Expressions, Unicode
messages: 144905
nosy: ezio.melotti, haypo, pitrou
priority: normal
severity: normal
status: open
title: sre_compile._optimize_unicode() needs a cleanup
versions: Python 3.3
_______________________________________
Python tracker <[email protected]>
<http://bugs.python.org/issue13100>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com