defunkt/pystache — pull request #144 by thesociable (2013-03-14 12:23:09+00:00)
Title: Support mappings that are not simply dicts.

As part of a recent project I needed Pystache to work with a custom class that followed the collections.Mapping spec and was not directly subclassed from dict. As a result, Pystache wouldn't retrieve items from the mapping. This patch fixes the context to test type against collections.Mapping rather than dict.