matplotlib/matplotlib — pull request #629 by jasongrout (2011-12-15 03:37:30+00:00)
Title: Fix race conditions when making directories---try making them and catch errors rather than checking and then creating.

These patches are from the Sage project.