Added support for broadcasting in binary table columns.
Changed according to comments in pull request.  Changed str to basestring, and row to key.  Also changed from iterating over the array for assignement to aslicing.
Added initial unittest to test table broadcasting.  test_array_broadcasting in test_table.py
PEP8 change to whitespace in parenthesis, fits file opens inside with loop, and addition of pull request URL to docstring in test_array_broadcasting unittest.
Fix Numpy format code for Q format descriptors. It should be a 64-bit integer; it so happened that at least on 64-bit systems 2l4 returned 2 64-bit ints as required, but really it doesn't make a lot of sense as a format code and it's lucky it worked at all.

git-svn-id: http://svn6.assembla.com/svn/pyfits/trunk@2483 ed100bfc-0583-0410-97f2-c26b58777a21
Another Python 3 fix--definitely should be inserting ASCII-encoded bytes here, not unicode strings.  Not sure exactly why this didn't blow up sooner.

git-svn-id: http://svn6.assembla.com/svn/pyfits/trunk@2486 ed100bfc-0583-0410-97f2-c26b58777a21
Add the -Wno-declaration-after-statement flag needed per https://github.com/astropy/astropy/pull/1971

git-svn-id: http://svn6.assembla.com/svn/pyfits/trunk@2487 ed100bfc-0583-0410-97f2-c26b58777a21
Work around some tets that fail on Windows due to floating point differences

git-svn-id: http://svn6.assembla.com/svn/pyfits/trunk@2490 ed100bfc-0583-0410-97f2-c26b58777a21
Fixed a very subtle bug in the handling of zero-width columns, related to the fact that a column's index in the list of columns described by the FITS header is different from its index in the recarray holding the table's data (which excludes any zero-width columns).  This was actually 'revealed' by making encode_ascii and decode_ascii a little less careless in how it passes through non-string arrays.

git-svn-id: http://svn6.assembla.com/svn/pyfits/trunk@2491 ed100bfc-0583-0410-97f2-c26b58777a21
Add the six module to a pyfits.extern package.  This is version 1.5.2 of the module; its license is included in the source file.

git-svn-id: http://svn6.assembla.com/svn/pyfits/trunk@2492 ed100bfc-0583-0410-97f2-c26b58777a21
Update all PyFITS source files to a) Use relative imports where possible (there are a few cases where they won't work on 2.5) and b) Use bits from six to improve cross-Python compatibility.

git-svn-id: http://svn6.assembla.com/svn/pyfits/trunk@2493 ed100bfc-0583-0410-97f2-c26b58777a21
Get rid of bits that mess with builtins uninvitedly

git-svn-id: http://svn6.assembla.com/svn/pyfits/trunk@2494 ed100bfc-0583-0410-97f2-c26b58777a21
Mention cross-Python unification in the changelog

git-svn-id: http://svn6.assembla.com/svn/pyfits/trunk@2495 ed100bfc-0583-0410-97f2-c26b58777a21
Forgot to add extern package to setup.cfg

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

git-svn-id: http://svn6.assembla.com/svn/pyfits/trunk@2505 ed100bfc-0583-0410-97f2-c26b58777a21
Record this fix in the changelog for 3.1 as well.

git-svn-id: http://svn6.assembla.com/svn/pyfits/trunk@2506 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

Conflicts:

	lib/pyfits/util.py

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

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

git-svn-id: http://svn6.assembla.com/svn/pyfits/trunk@2509 ed100bfc-0583-0410-97f2-c26b58777a21
Quick fix to a missing feature I noticed in FITS_rec.from_columns; it was supposed to be there.