
This is a summary of what are new in version 0.4 compared to 0.3.4.  The main
goals are to make it run under Python 2.0 and implement one major change
described in (1) below.

JC


(1) implement the hdu.header[key] to represent the keyword's value and
	hdu.header.ascard[key] for the card itself.  I did:

	(a) change the existing class Header to a new name: CardList
	(b) create a new class, called Header, which has the ascard attribute,
		the __getitem__, and __setitem__ methods.
	(c) hdu.header will be a Header instance
	(d) hdu.header.ascard will be a CardList instance.
	(e) keep all methods belonged to the (old) Header in the new CardList.

(2) change the last two lines of __value_RE to reflect Python 2.0's re module
	change from pre to sre (due to Paul).

(3) change (in several places) from:

	if hdu.data:  (or if self.data:)
    to

	if hdu.data != None:

    to avoid the situation of Numeric.zeros(n) being FALSE in this syntax.

(4) delete the function tableSize since it is not used.

(5) change the first line (#!...) from python 1.5 to python 2.0.

(6) put in a small testing code at the end, can be invoked as:

	fits.py filename

(7) other minor changes:
	- change version from 0.3.4 to 0.4
	- no need to import struct, since it is not used
	- change the the method name __blockio to __readblock to better
		reflect its functionality
	- change comments in several places
	- fix a bug in __getitem__ in BinTableHDU class of the (mis)use of hdr
	- modify the __read method in FITS class to make it clearer (replace
		both header and cards with kards)
	- modify the verify method in GroupHDU class (combine all required
		keywords


git-svn-id: 5305e2c1a78737cf7dd5f8f44e9bbbd00348fde7@22 ed100bfc-0583-0410-97f2-c26b58777a21

embray/PyFITS,embray/PyFITS,embray/PyFITS,spacetelescope/PyFITS,spacetelescope/PyFITS,embray/PyFITS