Skip to content

Cannot iterate on emtpy list #204

Description

@callegar

Hi, looks like it is impossible to iterate on empty lists, that are considered scalars. This can be worked around, but complicates code. In Python for x in []: is OK, but if rather than having [] I have a YAML([]) then that does not work.

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