Fix a file access bug that could occur when running this test on Windows.

git-svn-id: http://svn6.assembla.com/svn/pyfits/trunk@2135 ed100bfc-0583-0410-97f2-c26b58777a21
Should fix #218

git-svn-id: http://svn6.assembla.com/svn/pyfits/trunk@2136 ed100bfc-0583-0410-97f2-c26b58777a21
Fixes spacetelescope/PyFITS#5

git-svn-id: http://svn6.assembla.com/svn/pyfits/trunk@2140 ed100bfc-0583-0410-97f2-c26b58777a21
Merge pull request #507 from iguananaut/issue-507

astropy.log: The process cannot access the file because it is being used by another process
Conflicts:
	astropy/io/fits/tests/test_image.py
	src/compressionmodule.c

git-svn-id: http://svn6.assembla.com/svn/pyfits/trunk@2141 ed100bfc-0583-0410-97f2-c26b58777a21
For some reason the test_missing_tnull test just out of nowhere started erroring during teardown on Python 3 *only*.  I didn't change anything related to that (just added a new test) and this started.  As far as I can tell there is nothing actually preventing full garbage collection or all files being closed.  I think I've just hit some corner case that puts the garbage collector in a state where it doesn't *quite* close the mmap in time.  Let's just give the teardown a few attempts to remove the files and leave it at that.

git-svn-id: http://svn6.assembla.com/svn/pyfits/trunk@2144 ed100bfc-0583-0410-97f2-c26b58777a21
Fixes spacetelescope/PyFITS#6; although the specifications of the HIERARCH convention don't say anything about leading whitespace, CFITSIO's behavior is to strip it, and that is probably the expected behavior by most people.

git-svn-id: http://svn6.assembla.com/svn/pyfits/trunk@2153 ed100bfc-0583-0410-97f2-c26b58777a21
Fixes spacetelescope/PyFITS#7. Also fixed a tangential bug with using Header.index() on HIERARCH keywords that was caught in the implementation of the test for the original issue.

git-svn-id: http://svn6.assembla.com/svn/pyfits/trunk@2155 ed100bfc-0583-0410-97f2-c26b58777a21
Update the sphinx conf.py with the new dev version post release

git-svn-id: http://svn6.assembla.com/svn/pyfits/trunk@2158 ed100bfc-0583-0410-97f2-c26b58777a21
Update to the build instructions to require a fresh clone of the repository--this side-steps the issues with git-svn for now.  Also updated to mention the website update step.

git-svn-id: http://svn6.assembla.com/svn/pyfits/trunk@2159 ed100bfc-0583-0410-97f2-c26b58777a21
A few more notes about the website updates.

git-svn-id: http://svn6.assembla.com/svn/pyfits/trunk@2160 ed100bfc-0583-0410-97f2-c26b58777a21
Update the summary to be on one line--PyPI will strip the newlines and replace them with blanks (need to update d2to1 to do this as well, but be a bit nicer and replace newlines with spaces)

git-svn-id: http://svn6.assembla.com/svn/pyfits/trunk@2161 ed100bfc-0583-0410-97f2-c26b58777a21
Add the changelog updates from the 3.1.2 release (I really need to find a better way to do this....

git-svn-id: http://svn6.assembla.com/svn/pyfits/trunk@2165 ed100bfc-0583-0410-97f2-c26b58777a21
Fix dead link to the stpyfits 'documentation' (what little there is)

git-svn-id: http://svn6.assembla.com/svn/pyfits/trunk@2168 ed100bfc-0583-0410-97f2-c26b58777a21
Removed all assert_ functions except for assert_raises; renamed all 'pyfits' imports to just 'fits'.  This will make merges between Astropy significantly less troublesome in most cases.

git-svn-id: http://svn6.assembla.com/svn/pyfits/trunk@2169 ed100bfc-0583-0410-97f2-c26b58777a21
Replaced references to ticket numbers with the full ticket URL so as to elimitate ambiguity between GitHub issues and tickets from Trac.

git-svn-id: http://svn6.assembla.com/svn/pyfits/trunk@2170 ed100bfc-0583-0410-97f2-c26b58777a21
PEP8 all the things that autopep8 was able to do

git-svn-id: http://svn6.assembla.com/svn/pyfits/trunk@2173 ed100bfc-0583-0410-97f2-c26b58777a21
a bit more pep8-ish cleanup.  Might not do much more than this but we'll see

git-svn-id: http://svn6.assembla.com/svn/pyfits/trunk@2174 ed100bfc-0583-0410-97f2-c26b58777a21
Fix several tests that were still failing after the last few cleanup commits. Not sure how I let this pass.  Note I undid any changes from '== True/False' to 'is True/False' despite PEP8's position on this. It turns out that Numpy supplies its own True/False of type np.bool_ that does not compare identical to the builtin True/False *sigh*.  I also have no idea why the one comparison in test_image.py changed.  The new value is indeed the correct one, but that doesn't explain why it was passing before--slightly disconcerting.

git-svn-id: http://svn6.assembla.com/svn/pyfits/trunk@2175 ed100bfc-0583-0410-97f2-c26b58777a21
rename CompDataHDU.updateHeader and CompDataHDU.updateHeaderData to _update_header and _update_header_data respectively--they are now the internal methods they always should have been, though there are still some deprecation-pending backwards-compatibility interfaces left in place in the off chance that anyone is making the mistake of calling these methods manually.

git-svn-id: http://svn6.assembla.com/svn/pyfits/trunk@2176 ed100bfc-0583-0410-97f2-c26b58777a21
deprecate updateCompressedData as well

git-svn-id: http://svn6.assembla.com/svn/pyfits/trunk@2177 ed100bfc-0583-0410-97f2-c26b58777a21