h5py/h5py — pull request #277 by andrewcollette (2013-03-21 20:19:51+00:00)
Title: Fix garbage values being returned for empty attributes and datasets (#276)

Disables attribute and dataset reads for objects created with H5S_NULL dataspace. This is in response to #276.

IOError is raised in response to read requests in both cases. This isn't proposed to be the final behavior, but a patch to stop people getting corrupted data in the meantime.