Skip to content

six.moves.UserDict should alias to UserDict.IterableUserDict on Python 2 #281

@mgedmin

Description

@mgedmin

Python 2.7's UserDict.UserDict is not iterable. Python 3's collections.UserDict is iterable. Python 2.7 has a UserDict.IterableUserDict that is iterable, so I think it would be better if six.moves.UserDict pointed to it instead of the other one.

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