astropy/astropy — pull request #2439 by mdboom (2014-05-05 14:58:41+00:00)
Title: Change allocation in WCS.sub.

This is a subset of #2361 that we should put in 0.3.x if possible, as it's less invasive. Without it, I'm currently getting crashes in the test suite on my machine in 0.3.x and master (though Travis doesn't seem to care).