[h5py] 113/455: Doc fixes, changelog, autotests pass on UNIX for 0.3.1

Ghislain Vaillant ghisvail-guest at moszumanska.debian.org
Thu Jul 2 18:19:23 UTC 2015


This is an automated email from the git hooks/post-receive script.

ghisvail-guest pushed a commit to annotated tag 1.3.0
in repository h5py.

commit 6e69cd71be9e70eacd53cd47de2333461c8ff297
Author: andrewcollette <andrew.collette at gmail.com>
Date:   Sat Aug 30 06:12:59 2008 +0000

    Doc fixes, changelog, autotests pass on UNIX for 0.3.1
---
 CHANGES.txt         | 34 ++++++++++++++++++++++++++++++++++
 README.txt          |  4 ++--
 docs/source/conf.py |  6 +++---
 docs/source/low.rst |  1 -
 h5py/h5g.pyx        |  4 ----
 h5py/highlevel.py   |  4 +++-
 setup.py            |  2 +-
 7 files changed, 43 insertions(+), 12 deletions(-)

diff --git a/CHANGES.txt b/CHANGES.txt
index 8db6bbe..1dd5619 100644
--- a/CHANGES.txt
+++ b/CHANGES.txt
@@ -1,3 +1,32 @@
+Version 0.3.1
+=============
+
+General
+-------
+  - Update Sphinx documentation to describe Dataset options
+  - Many unit test coverage improvements
+  - Fix setup.py to allow relative path argument to --hdf5 option
+
+High-level
+----------
+  - Rearrange order of Dataset constructor arguments to match NumPy convention
+  - Extendible datasets allowed, via new "maxshape" constructor keyword
+  - Automatic guessing of chunk size, based on PyTables algorithm
+  - Rewrite indexing code to more closely imitate NumPy slicing behavior
+  - Support indexing via boolean array
+  - Support indexing via explicit list of coordinates
+  - Zero-length selections are now legal for all indexing methods
+  - Allow single axes more than 2**32 elements in length (up to 2**63)
+  - Stopgap fix for failing File.browse() with old readline versions
+
+Low-level
+---------
+  - Element-wise selection now uses NumPy arrays to list coordinates, not lists
+  - Eliminate 32-bit size restriction on shape tuple members
+  - Add methods get_fill_value and set_fill_value to h5p.PropDCID
+  - Fix threading test suite failure in multicore environment
+
+
 Version 0.3.0
 =============
 
@@ -20,6 +49,7 @@ High-level
 ----------
   - All methods are now thread-safe
 
+
 Version 0.2.2
 =============
 
@@ -31,6 +61,7 @@ Version 0.2.2
   - Catch all exceptions in highlevel __str__ methods
   - Add names property for Group, AttributeManager objects
 
+
 Version 0.2.1
 =============
 
@@ -60,6 +91,7 @@ High-level
   - Missing self argument to Datatype constructor
   - Add unit tests for highlevel module
 
+
 Version 0.2.0
 =============
 
@@ -67,3 +99,5 @@ Version 0.2.0
 - Officially support compilation with HDF5 1.8.X
 - Redesign high-level component
 - Add more Numpy-like slicing behavior
+
+
diff --git a/README.txt b/README.txt
index 2b0581d..467a18b 100644
--- a/README.txt
+++ b/README.txt
@@ -2,9 +2,9 @@ README for the "h5py" Python/HDF5 interface
 ===========================================
 Copyright (c) 2008 Andrew Collette
 
-Version 0.3.0
+Version 0.3.1
 
-* http://h5py.alfven.org        Main site, docs
+* http://h5py.alfven.org        Main site, docs, quick-start guide
 * http://h5py.googlecode.com    Downloads, FAQ and bug tracker
 
 * mail: "h5py" at the domain "alfven dot org"
diff --git a/docs/source/conf.py b/docs/source/conf.py
index d28b1b1..0aad953 100644
--- a/docs/source/conf.py
+++ b/docs/source/conf.py
@@ -44,7 +44,7 @@ copyright = '2008, Andrew Collette'
 # The short X.Y version.
 version = '0.3'
 # The full version, including alpha/beta/rc tags.
-release = '0.3.0'
+release = '0.3.1'
 
 # There are two options for replacing |today|: either, you set today to some
 # non-false value, then it is used:
@@ -122,10 +122,10 @@ html_last_updated_fmt = '%b %d, %Y'
 #html_additional_pages = {}
 
 # If false, no module index is generated.
-#html_use_modindex = True
+html_use_modindex = False
 
 # If false, no index is generated.
-#html_use_index = True
+html_use_index = False
 
 # If true, the index is split into individual pages for each letter.
 #html_split_index = False
diff --git a/docs/source/low.rst b/docs/source/low.rst
index 1c8ab9e..717b311 100644
--- a/docs/source/low.rst
+++ b/docs/source/low.rst
@@ -158,4 +158,3 @@ available.
 
 
 
-
diff --git a/h5py/h5g.pyx b/h5py/h5g.pyx
index 3f560d4..2d247fe 100644
--- a/h5py/h5g.pyx
+++ b/h5py/h5g.pyx
@@ -117,10 +117,6 @@ def create(ObjectID loc not None, char* name, int size_hint=-1):
     """
     return GroupID(H5Gcreate(loc.id, name, size_hint))
 
-IF H5PY_18API:
-   def create_anon(ObjectID loc not None):
-        return GroupID(H5Gcreate_anon(loc.id, H5P_DEFAULT, H5P_DEFAULT))
-
 cdef herr_t iter_cb_helper(hid_t gid, char *name, object int_tpl) except -1:
     # Callback function for H5Giterate
     # Automatic exception propagation breaks in 1.8 for some reason, so
diff --git a/h5py/highlevel.py b/h5py/highlevel.py
index a9af080..346d596 100644
--- a/h5py/highlevel.py
+++ b/h5py/highlevel.py
@@ -64,6 +64,8 @@ __all__ = ["File", "Group", "Dataset",
 try:
     # For interactive File.browse() capability
     import readline
+    if not hasattr(readline, 'get_current_history_length'):
+        readline = None
 except ImportError:
     readline = None
 
@@ -419,7 +421,7 @@ class Dataset(HLObject):
 
     """ High-level interface to an HDF5 dataset.
 
-        Dataset(group, name, data=None, dtype=None, shape=None, **kwds)
+        Dataset(group, name, shape=None, dtype=None, data=None, **kwds)
 
         Datasets behave superficially like Numpy arrays.  The full Numpy
         slicing syntax, including recarray indexing of named fields (even
diff --git a/setup.py b/setup.py
index 6bdcb81..1f0abed 100644
--- a/setup.py
+++ b/setup.py
@@ -35,7 +35,7 @@
 # === Global constants ========================================================
 
 NAME = 'h5py'
-VERSION = '0.3.0'
+VERSION = '0.3.1'
 
 MIN_PYREX = '0.9.8.4'  # for compile_multiple
 MIN_NUMPY = '1.0.3'

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/h5py.git



More information about the debian-science-commits mailing list