Using method_cache on the getitem and getattr magic methods does not work as expected.
On python2, method_cache on getitem works fine, but not on getattr: no cached values are returned.
On python3, method_cache fails to return cached values on both getitem and getattr.
#4 adds a test that tries to highlight the issue. Hopefully a solution to this problem can be found (making this test pass!).
Regards.