Closed misja closed 8 years ago
the PR is pretty cool. I would suggest some improvements.
Mapping
in place of MutableMapping
should be fine most of the time.
tuple
will not work because they are not mutable. Maybe you should test against Sequence
and excluding str
.
Have a look, think type checks should be ok now. And Travis stumbles over pytest versions?
Sometime Travis is a real mystery... Anyway the PR it seems good to me. Next release will be published soon to pypi. Thanks!
Operations were failing since I was using my own types. This pull checks for
collections.MutableMapping
andcollections.MutableSequence
instead of concrete typesdict
,list
,tuple
.