Skip to content

Should NamedTuple rely on dict being oredered? #339

Description

@ilevkivskyi

Currently, NamedTuple relies on the fact that dict is ordered in Python 3.6. However, (if I remember correctly) it was decided at some point that the ordered nature of dict is a CPython implementation detail. The question is should we explicitly use an OrderedDict instead?

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