brainkim/archieml-python

Parser edge cases create weird data

Opened this issue · 0 comments

Leaving this note here just to warn people that there are a couple of edge cases that don't really make sense:

For instance:

archieml.loads(
"""[foo] 
{foo} 
k: v 
{}
* bar""")

produces the dictionary:

{'foo': {0: 'bar', 'k: v'}}

Some of the edge cases are listed on the main archieml.org repository newsdev/archieml.org#25, so if this bothers you, you should propose fixes there.