-
Notifications
You must be signed in to change notification settings - Fork 8
Open
Labels
enhancementNew feature or requestNew feature or requesthelp wantedExtra attention is neededExtra attention is neededwontfixThis will not be worked onThis will not be worked on
Description
It would be great if CleverDict
behaviour could be easily 'grafted on' to existing classes using inheritance, without causing recursion or requiring a rewrite/overwrite of the original class.
For example if it were as easy as:
```
>>> class MyDatetime(datetime.datetime, CleverDict):
... pass
>>> mdt = MyDatetime.now()
>>> mdt.hour
4
>>> mdt['hour']
4
```
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or requesthelp wantedExtra attention is neededExtra attention is neededwontfixThis will not be worked onThis will not be worked on