Skip to content

dict subclassing in templates and terminologies #329

Description

@mpsonntag

Subclassing the dict built-in is generally discouraged (and collections.UserDict exists for this purpose) but I think the reasons for that don't affect us here right now. I believe it's only an issue when overriding the magic methods, which we're not. Might want to keep in mind in case we do anything more fancy with the class.

Originally posted by @achilleas-k in https://github.com/G-Node/python-odml/diffs

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

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions