unknown-horizons/unknown-horizons — pull request #59 by MasterofJOKers (2012-04-25 16:18:26+00:00)
Title: use dummy shelve as YAML cache if shelve is unopenable

On Windows some shelve module might convert unicode characters in the
filename to ascii, so we cannot open any cache file. In this case we
use a dict for caching the YAML data at runtime.