SirAnthony/slpp

About mix

yujiang opened this issue · 1 comments

from the test:
s = '{ 43, 54.3, false, string = "value", 9 } }'
from slpp import slpp as lua
data = lua.decode(s)
print(data)

{0: 43, 1: 54.329999999999998, 2: False, 4: 9, 'string': 'value'}
why not
{0: 43, 1: 54.329999999999998, 2: False, 3: 9, 'string': 'value'}

It was 5 parameter in input string. Actually 3rd key is 'string', but it has its own name.
Python does not care about order in dict, it is not related to python output.