ion-python
ion-python copied to clipboard
__repr__ for s-exp is misleading
The repr for s-expressions is indistinguishable from that of lists:
>>> simpleion.loads('()')
[]
An observation is that the in-memory type of an s-expression is a list. A python tuple may map to a list or a s-exp depending on a flag to the serialization.