{"action":"created","issue":{"url":"https://api.github.com/repos/h5py/h5py/issues/641","repository_url":"https://api.github.com/repos/h5py/h5py","labels_url":"https://api.github.com/repos/h5py/h5py/issues/641/labels{/name}","comments_url":"https://api.github.com/repos/h5py/h5py/issues/641/comments","events_url":"https://api.github.com/repos/h5py/h5py/issues/641/events","html_url":"https://github.com/h5py/h5py/issues/641","id":115209441,"number":641,"title":"Interpret H5T_NATIVE_B8 as numpy.bool","user":{"login":"llchan","id":51099,"avatar_url":"https://avatars.githubusercontent.com/u/51099?v=3","gravatar_id":"","url":"https://api.github.com/users/llchan","html_url":"https://github.com/llchan","followers_url":"https://api.github.com/users/llchan/followers","following_url":"https://api.github.com/users/llchan/following{/other_user}","gists_url":"https://api.github.com/users/llchan/gists{/gist_id}","starred_url":"https://api.github.com/users/llchan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/llchan/subscriptions","organizations_url":"https://api.github.com/users/llchan/orgs","repos_url":"https://api.github.com/users/llchan/repos","events_url":"https://api.github.com/users/llchan/events{/privacy}","received_events_url":"https://api.github.com/users/llchan/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":7,"created_at":"2015-11-05T04:55:04Z","updated_at":"2016-11-10T14:06:42Z","closed_at":null,"body":"I'm migrating from PyTables, which uses `H5T_NATIVE_B8` as the bool representation.  In h5py, this HDF5 type currently raises `TypeError: No NumPy equivalent for TypeBitfieldID exists`.  Since it's currently unusable anyways, would anyone be opposed to having h5py interpret those columns as bool so the files are compatible?  I also have some existing C code that writes PyTables-readable data, and it would make my life a lot easier to write one format instead instead of toggling between two modes.\n\nIf we're worried about breaking existing stuff, we could make it an opt-in feature, but that seems unnecessary since the existing behavior is that it cant read the data at all.\n"},"comment":{"url":"https://api.github.com/repos/h5py/h5py/issues/comments/259698043","html_url":"https://github.com/h5py/h5py/issues/641#issuecomment-259698043","issue_url":"https://api.github.com/repos/h5py/h5py/issues/641","id":259698043,"user":{"login":"llchan","id":51099,"avatar_url":"https://avatars.githubusercontent.com/u/51099?v=3","gravatar_id":"","url":"https://api.github.com/users/llchan","html_url":"https://github.com/llchan","followers_url":"https://api.github.com/users/llchan/followers","following_url":"https://api.github.com/users/llchan/following{/other_user}","gists_url":"https://api.github.com/users/llchan/gists{/gist_id}","starred_url":"https://api.github.com/users/llchan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/llchan/subscriptions","organizations_url":"https://api.github.com/users/llchan/orgs","repos_url":"https://api.github.com/users/llchan/repos","events_url":"https://api.github.com/users/llchan/events{/privacy}","received_events_url":"https://api.github.com/users/llchan/received_events","type":"User","site_admin":false},"created_at":"2016-11-10T14:06:42Z","updated_at":"2016-11-10T14:06:42Z","body":"I remember doing something to similar to the above, but also adding a check in the read code to inspect the HDF5 type and do a conversion if necessary. Don't have access to the code at the moment, but I think I should have some time this weekend."}}
{"actor":{"display_login":"llchan"}}