<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>What’s new in PyTables 0.9.1 — PyTables 3.0.0 documentation</title> <link rel="stylesheet" href="../_static/cloud.css" type="text/css" /> <link rel="stylesheet" href="../_static/pygments.css" type="text/css" /> <link rel="stylesheet" href="../" type="text/css" /> <script type="text/javascript"> var DOCUMENTATION_OPTIONS = { URL_ROOT: '../', VERSION: '3.0.0', COLLAPSE_INDEX: false, FILE_SUFFIX: '.html', HAS_SOURCE: true }; </script> <script type="text/javascript" src="../_static/jquery.js"></script> <script type="text/javascript" src="../_static/underscore.js"></script> <script type="text/javascript" src="../_static/doctools.js"></script> <script type="text/javascript" src="../_static/jquery.cookie.js"></script> <script type="text/javascript" src="../_static/toggle_sections.js"></script> <script type="text/javascript" src="../_static/toggle_sidebar.js"></script> <link rel="shortcut icon" href="../_static/favicon.ico"/> <link rel="top" title="PyTables 3.0.0 documentation" href="../index.html" /> <link rel="up" title="PyTables Release Notes" href="../release_notes.html" /> <link rel="next" title="What’s new in PyTables 0.9" href="RELEASE_NOTES_v0.9.html" /> <link rel="prev" title="What’s new in PyTables 1.0" href="RELEASE_NOTES_v1.0.html" /> </head> <body> <div class="relbar-top"> <div class="related"> <h3>Navigation</h3> <ul> <li class="right" style="margin-right: 10px"> <a href="../genindex.html" title="General Index" accesskey="I">index</a></li> <li class="right" > <a href="../py-modindex.html" title="Python Module Index" >modules</a> </li> <li class="right" > <a href="../np-modindex.html" title="Python Module Index" >modules</a> </li> <li class="right" > <a href="RELEASE_NOTES_v0.9.html" title="What’s new in PyTables 0.9" accesskey="N">next</a> </li> <li class="right" > <a href="RELEASE_NOTES_v1.0.html" title="What’s new in PyTables 1.0" accesskey="P">previous</a> </li> <li><a href="../index.html">PyTables 3.0.0 documentation</a> »</li> <li><a href="../release_notes.html" accesskey="U">PyTables Release Notes</a> »</li> </ul> </div> </div> <div class="document"> <div class="documentwrapper"> <div class="bodywrapper"> <div class="body"> <div class="section" id="what-s-new-in-pytables-0-9-1"> <h1>What’s new in PyTables 0.9.1<a class="headerlink" href="#what-s-new-in-pytables-0-9-1" title="Permalink to this headline">¶</a></h1> <p>This release is mainly a maintenance version. In it, some bugs has been fixed and a few improvements has been made. One important thing is that chunk sizes in EArrays has been re-tuned to get much better performance. Besides, it has been tested against the latest Python 2.4 and all unit tests seems to pass fine.</p> <p>More in detail:</p> <p>Improvements:</p> <ul class="simple"> <li>The chunksize computation for EArrays has been re-tuned to allow the compression rations that were usual before 0.9 release.</li> <li>New –unpackshort and –quantize flags has been added to nctoh5 script. –unpackshort unpack short integer variables to float variables using scale_factor and add_offset netCDF variable attributes. –quantize quantize data to improve compression using least_significant_digit netCDF variable attribute (not active by default). See <a class="reference external" href="http://www.esrl.noaa.gov/psd/data/gridded/conventions/cdc_netcdf_standard.shtml">http://www.esrl.noaa.gov/psd/data/gridded/conventions/cdc_netcdf_standard.shtml</a> for further explanation of what this attribute means. Thanks to Jeff Whitaker for providing this.</li> <li>Table.itersequence has received a new parameter called “sort”. This allows to disable the sorting of the sequence in case the user wants so.</li> </ul> <p>Backward-incompatible changes:</p> <ul class="simple"> <li>Now, the AttributeSet class throw an AttributeError on __getattr__ for nonexistent attributes in it. Formerly, the routine returned None, which is pretty much against convention in Python and breaks the built-in hasattr() function. Thanks to Robert Nemec for noting this and offering a patch.</li> <li>VLArray.read() has changed its behaviour. Now, it always returns a list, as stated in documentation, even when the number of elements to return is 0 or 1. This is much more consistent when representing the actual number of elements on a certain VLArray row.</li> </ul> <p>API additions:</p> <ul class="simple"> <li>A Row.getTable() has been added. It is an accessor for the associated Table object.</li> <li>A File.copyAttrs() has been added. It allows copying attributes from one leaf to other. Properly speaking, this was already there, but not documented :-/</li> </ul> <p>Bug fixes:</p> <ul class="simple"> <li>Now, the copy of hierarchies works even when there are scalar Arrays (i.e. Arrays which shape is ()) on it. Thanks to Robert Nemec for providing a patch.</li> <li>Solved a memory leak regarding the Filters instance associated with the File object, that was not released after closing the file. Now, there are no known leaks on PyTables itself.</li> <li>Improved security of nodes name checking. Closes #1074335</li> </ul> <p>Enjoy data!,</p> <p>– Francesc Altet <a class="reference external" href="mailto:falted%40pytables.org">falted<span>@</span>pytables<span>.</span>org</a></p> </div> </div> </div> </div> <div class="sphinxsidebar"> <div class="sphinxsidebarwrapper"> <p class="logo"><a href="../index.html"> <img class="logo" src="../_static/logo-pytables-small.png" alt="Logo"/> </a></p> <h4>Previous topic</h4> <p class="topless"><a href="RELEASE_NOTES_v1.0.html" title="previous chapter">What’s new in PyTables 1.0</a></p> <h4>Next topic</h4> <p class="topless"><a href="RELEASE_NOTES_v0.9.html" title="next chapter">What’s new in PyTables 0.9</a></p> <h3>This Page</h3> <ul class="this-page-menu"> <li><a href="../_sources/release-notes/RELEASE_NOTES_v0.9.1.txt" rel="nofollow">Show Source</a></li> </ul> <div id="searchbox" style="display: none"> <h3>Quick search</h3> <form class="search" action="../search.html" method="get"> <input type="text" name="q" /> <input type="submit" value="Go" /> <input type="hidden" name="check_keywords" value="yes" /> <input type="hidden" name="area" value="default" /> </form> <p class="searchtip" style="font-size: 90%"> Enter search terms or a module, class or function name. </p> </div> <script type="text/javascript">$('#searchbox').show(0);</script> </div> </div> <div class="clearer"></div> </div> <div class="relbar-bottom"> <div class="related"> <h3>Navigation</h3> <ul> <li class="right" style="margin-right: 10px"> <a href="../genindex.html" title="General Index" >index</a></li> <li class="right" > <a href="../py-modindex.html" title="Python Module Index" >modules</a> </li> <li class="right" > <a href="../np-modindex.html" title="Python Module Index" >modules</a> </li> <li class="right" > <a href="RELEASE_NOTES_v0.9.html" title="What’s new in PyTables 0.9" >next</a> </li> <li class="right" > <a href="RELEASE_NOTES_v1.0.html" title="What’s new in PyTables 1.0" >previous</a> </li> <li><a href="../index.html">PyTables 3.0.0 documentation</a> »</li> <li><a href="../release_notes.html" >PyTables Release Notes</a> »</li> </ul> </div> </div> <div class="footer"> © Copyright 2011-2013, PyTables maintainers. Created using <a href="http://sphinx.pocoo.org/">Sphinx</a> 1.1.3. </div> <!-- cloud_sptheme 1.3 --> </body> </html>