Fixed an issue I caught while updating the checksum tests, though it is not specifically related to checksums.  The issue is that if an image contains pseudo-unsigned integers, merely opening the file and then writing a copy of it will remove all the pseudo-unsigned scaling unexpectedly and clearly undesiredly.


Conflicts:

	lib/pyfits/hdu/image.py
	lib/pyfits/tests/test_checksum.py

git-svn-id: http://svn6.assembla.com/svn/pyfits/branches/3.1-stable@2444 ed100bfc-0583-0410-97f2-c26b58777a21
Fix unnecessary checksum deletion from b39fda8d06f967d01f29bd5523e224dd0e45ceec

git-svn-id: http://svn6.assembla.com/svn/pyfits/branches/3.1-stable@2445 ed100bfc-0583-0410-97f2-c26b58777a21
Sync changelog with master

git-svn-id: http://svn6.assembla.com/svn/pyfits/branches/3.1-stable@2446 ed100bfc-0583-0410-97f2-c26b58777a21
Fixes the DeprecationWarning reported in https://github.com/spacetelescope/PyFITS/issues/45 The code here for mucking with urllib is, as far as I can tell, just a workaround for http://bugs.python.org/issue1566800 and shouldn't apply to newer Python versions anyways


Conflicts:

	lib/pyfits/core.py

git-svn-id: http://svn6.assembla.com/svn/pyfits/branches/3.1-stable@2447 ed100bfc-0583-0410-97f2-c26b58777a21
Backport the fix for #8 from 30d0333acc8fce4d07ebc4af4a2d6e2a96af897f

Conflicts:

	CHANGES.txt
	lib/pyfits/hdu/base.py

git-svn-id: http://svn6.assembla.com/svn/pyfits/branches/3.1-stable@2452 ed100bfc-0583-0410-97f2-c26b58777a21
An initial solution to the basic problem showing up in issue #47.  The more I look into this though the more apparent it becomes how naive the code is for managing the heap, especially when updating existing files.  I'm going to write some more tests to illustrate some of the problems I think are likely to occur with the current code and see if I can cobble together some slightly more sophisticated heap handling.  This might also fix some other VLA-related issues.

Conflicts:

	lib/pyfits/tests/test_table.py


Conflicts:

	CHANGES.txt
	lib/pyfits/fitsrec.py
	lib/pyfits/tests/test_table.py

git-svn-id: http://svn6.assembla.com/svn/pyfits/branches/3.1-stable@2471 ed100bfc-0583-0410-97f2-c26b58777a21
Squashed commit of the following:

commit e9437408f2ee3c3d36dd65bcc4be37c3198c3060
Author: Erik M. Bray <embray@stsci.edu>
Date:   Fri Jan 10 16:56:24 2014 -0500

    Implement fix for the header bool/int issue, to be backported to 3.1.x

commit 3266ffb856b7eecdc87fb1a5fb9be0a2c2d06d2b
Author: Erik M. Bray <embray@stsci.edu>
Date:   Fri Jan 10 16:45:03 2014 -0500

    Add a regression test for the header int/bool issue.


Conflicts:

	CHANGES.txt

git-svn-id: http://svn6.assembla.com/svn/pyfits/branches/3.1-stable@2472 ed100bfc-0583-0410-97f2-c26b58777a21
Followup to a1823323875b801863b99c00ad5039fcfc48bc49 to work correctly in PyFITS 3.1

git-svn-id: http://svn6.assembla.com/svn/pyfits/branches/3.1-stable@2475 ed100bfc-0583-0410-97f2-c26b58777a21
Fix determinism of itersubclasses in Python 3.4; see https://github.com/astropy/astropy/pull/1969

git-svn-id: http://svn6.assembla.com/svn/pyfits/branches/3.1-stable@2479 ed100bfc-0583-0410-97f2-c26b58777a21
Fix for issue #49


Conflicts:

	CHANGES.txt

git-svn-id: http://svn6.assembla.com/svn/pyfits/branches/3.1-stable@2504 ed100bfc-0583-0410-97f2-c26b58777a21
Fix for issue #49

Conflicts:

	CHANGES.txt

git-svn-id: http://svn6.assembla.com/svn/pyfits/branches/3.1-stable@2514 ed100bfc-0583-0410-97f2-c26b58777a21
Fix a TODO item that is necessary for fileobj_is_binary to return the correct result for a StringIO object in Python 3

git-svn-id: http://svn6.assembla.com/svn/pyfits/branches/3.1-stable@2515 ed100bfc-0583-0410-97f2-c26b58777a21
Regression test and fix for https://trac.assembla.com/pyfits/ticket/217

Conflicts:

	CHANGES.txt
	lib/pyfits/tests/test_header.py

git-svn-id: http://svn6.assembla.com/svn/pyfits/branches/3.1-stable@2516 ed100bfc-0583-0410-97f2-c26b58777a21
A couple fixups for Python 3 compatibility

git-svn-id: http://svn6.assembla.com/svn/pyfits/branches/3.1-stable@2517 ed100bfc-0583-0410-97f2-c26b58777a21
Merge branch 'doc-fixes'

Conflicts:

	docs/source/users_guide/users_tutorial.rst

Conflicts:

	lib/pyfits/card.py
	lib/pyfits/diff.py
	lib/pyfits/fitsrec.py
	lib/pyfits/hdu/base.py
	lib/pyfits/hdu/compressed.py
	lib/pyfits/hdu/groups.py
	lib/pyfits/hdu/table.py

git-svn-id: http://svn6.assembla.com/svn/pyfits/branches/3.1-stable@2519 ed100bfc-0583-0410-97f2-c26b58777a21