Skip to content

Parser edge cases create weird data #2

Description

@brainkim

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions