On Jan 26, 5:08 am, "Edward K. Ream" <[email protected]> wrote:
> The special case for the "_hash" key is troubling. It would be better to
> define a class with an ivar corresponding to d.get('_hash').
The thread, "Why dicts should have uniform keys and values" expands on
this remark.
I am now in the middle of unit testing for the new code. The present
tests demonstrate that various key-related dicts have expected types.
They will be useful as I migrate from "overloaded dicts" to proper
class objects.
Another set of unit tests is needed to verify that expected overrides
happen. That's next. Perhaps today.
Edward
--
You received this message because you are subscribed to the Google Groups
"leo-editor" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/leo-editor?hl=en.