8000 Cannot iterate on emtpy list · Issue #204 · crdoconnor/strictyaml · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
Cannot iterate on emtpy list #204
Open
@callegar

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

      0