Changes between Initial Version and Version 1 of Ticket #11622, comment 53
- Timestamp:
- Jun 16, 2017, 10:32:14 AM (6 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #11622, comment 53
initial v1 4 4 5 5 Linux (wide build): 6 {{{ 6 {{{#!pycon 7 7 Python 2.5.6 (r256:88840, Oct 21 2014, 22:49:55) 8 8 [GCC 4.8.2] on linux2 9 9 Type "help", "copyright", "credits" or "license" for more information. 10 >>> import sys 11 >>> hex(sys.maxunicode) 12 '0x10ffff' 10 13 >>> parse_arg_list('text=%F3%A0%84%80-%F3%A0%87%AF') 11 14 [(u'text', u'\U000e0100-\U000e01ef')] 12 15 >>> [hex(ord(c)) for c in parse_arg_list('text=%F3%A0%84%80-%F3%A0%87%AF')[0][1]] 13 16 ['0xe0100', '0x2d', '0xe01ef'] 17 >>> import re 18 >>> re.compile(u'[\U000e0100-\U000e01ef]+', re.U) 19 <_sre.SRE_Pattern object at 0x20cbf30> 14 20 }}} 15 21 16 22 Windows (narrow build): 17 {{{ 23 {{{#!pycon 18 24 Python 2.7.10 (default, May 23 2015, 09:44:00) [MSC v.1500 64 bit (AMD64)] on win32 19 25 Type "help", "copyright", "credits" or "license" for more information. 26 >>> import sys 27 >>> hex(sys.maxunicode) 28 '0xffff' 20 29 >>> from trac.web.api import parse_arg_list 21 30 >>> parse_arg_list('text=%F3%A0%84%80-%F3%A0%87%AF') … … 23 32 >>> [hex(ord(c)) for c in parse_arg_list('text=%F3%A0%84%80-%F3%A0%87%AF')[0][1]] 24 33 ['0xdb40', '0xdd00', '0x2d', '0xdb40', '0xddef'] 34 >>> import re 35 >>> re.compile(u'[\U000e0100-\U000e01ef]+', re.U) 36 Traceback (most recent call last): 37 File "<stdin>", line 1, in <module> 38 File "C:\usr\src\trac\venv\trac-1.0.12\lib\re.py", line 194, in compile 39 return _compile(pattern, flags) 40 File "C:\usr\src\trac\venv\trac-1.0.12\lib\re.py", line 251, in _compile 41 raise error, v # invalid expression 42 sre_constants.error: bad character range 25 43 }}} 26 44