@@ -23,7 +23,7 @@ Non-ASCII Bytes
2323
2424Binary
2525 b'\\x00\\x01\\x02'
26- u'\\x00\\x01\\x02'
26+ u'\\x00\\x01\\x02' b'\\x00\\x01\\x02'
2727 b'\\x00\\xe4\\xff'
2828
2929Unrepresentable binary
@@ -58,18 +58,21 @@ Custom object with non-ASCII representation
5858 MyObject(u'hyv\\xe4') u'hyv\\xe4'
5959
6060Custom object with binary representation
61- MyObject('\\x00\\x01') '\\x00\\x01'
61+ MyObject('\\x00\\x01') b '\\x00\\x01'
6262
6363List
6464 \[]
65- \['Hei', u'\\xe4iti ', 63, True, '\\x00' ]
65+ \['Hei', 'äiti ', 63, True]
6666 \[None, MyObject('xxx'), MyObject(u'\\xe4')] ['', 'xxx', u'\\xe4']
6767 \[[0 , [[]]], [1, 2], [[True], False], 'xxx']
6868
69+ List with binary values
70+ \[u'\x01', b'\x01', b''] [b'\x01', b'\x01', b'']
71+
6972List-like
7073 [Documentation] Tuples etc. are converted to lists
7174 () []
72- ('Hei', u'\\xe4iti ', 63, (), None) ['Hei', u'\\xe4iti ', 63, [], '']
75+ ('Hei', 'äiti ', 63, (), None) ['Hei', 'äiti ', 63, [], '']
7376 set(['hello']) ['hello']
7477 (i for i in range(5)) [0, 1, 2, 3, 4]
7578
@@ -83,20 +86,20 @@ Dictionary with non-ASCII keys and values
8386 {u'\\xe4': u'\\xe4', u'\\u2603': u'\\u2603'}
8487
8588Dictionary with non-ASCII byte keys is not supported
86- [Documentation] FAIL GLOB: TypeError: *unhashable*
89+ [Documentation] FAIL GLOB: TypeError: *unhashable*
8790 [Template] Return Evaluated
8891 {b'\\xe4': 'value'}
8992
9093Dictionary with non-ASCII byte values
9194 {'key': b'\\xe4'}
9295
9396Dictionary with binary keys is not supported
94- [Documentation] FAIL GLOB: TypeError: *unhashable*
97+ [Documentation] FAIL GLOB: TypeError: *unhashable*
9598 [Template] Return Evaluated
9699 {u'\\x00': 'value'}
97100
98101Dictionary with binary values
99- {'0 ': u'\\x00', '1': b'\\xff'}
102+ {'0 ': u'\\x00', '1': b'\\xff'} {'0': b'\\x00', '1': b'\\xff'}
100103
101104Dictionary with non-string keys and values
102105 [Documentation] XML-RPC supports only strings as keys so must convert them
0 commit comments