--- a/Documentation/Source/eric6.DebugClients.Python2.DebugVariables.html Fri Sep 30 19:52:16 2016 +0200 +++ b/Documentation/Source/eric6.DebugClients.Python2.DebugVariables.html Fri Sep 30 19:52:42 2016 +0200 @@ -25,11 +25,17 @@ </p> <h3>Global Attributes</h3> <table> -<tr><td>MaxItemsToHandle</td></tr><tr><td>TooLargeAttribute</td></tr><tr><td>TooLargeMessage</td></tr><tr><td>_TypeMap</td></tr><tr><td>defaultResolver</td></tr><tr><td>dictResolver</td></tr><tr><td>listResolver</td></tr><tr><td>setResolver</td></tr> +<tr><td>MaxItemsToHandle</td></tr><tr><td>TooLargeAttribute</td></tr><tr><td>TooLargeMessage</td></tr><tr><td>_TypeMap</td></tr><tr><td>arrayResolver</td></tr><tr><td>defaultResolver</td></tr><tr><td>dictResolver</td></tr><tr><td>listResolver</td></tr><tr><td>multiValueDictResolver</td></tr><tr><td>ndarrayResolver</td></tr><tr><td>setResolver</td></tr> </table> <h3>Classes</h3> <table> <tr> +<td><a href="#ArrayItemsContainer">ArrayItemsContainer</a></td> +<td>Class to store array.array items.</td> +</tr><tr> +<td><a href="#ArrayResolver">ArrayResolver</a></td> +<td>Class used to resolve from array.array including some meta data.</td> +</tr><tr> <td><a href="#BaseResolver">BaseResolver</a></td> <td>Base class of the resolver class tree.</td> </tr><tr> @@ -42,6 +48,15 @@ <td><a href="#ListResolver">ListResolver</a></td> <td>Class used to resolve from a tuple or list.</td> </tr><tr> +<td><a href="#MultiValueDictResolver">MultiValueDictResolver</a></td> +<td>Class used to resolve from Django multi value dictionaries.</td> +</tr><tr> +<td><a href="#NdArrayItemsContainer">NdArrayItemsContainer</a></td> +<td>Class to store ndarray items.</td> +</tr><tr> +<td><a href="#NdArrayResolver">NdArrayResolver</a></td> +<td>Class used to resolve from numpy ndarray including some meta data.</td> +</tr><tr> <td><a href="#SetResolver">SetResolver</a></td> <td>Class used to resolve from a set or frozenset.</td> </tr> @@ -57,6 +72,107 @@ </tr> </table> <hr /><hr /> +<a NAME="ArrayItemsContainer" ID="ArrayItemsContainer"></a> +<h2>ArrayItemsContainer</h2> +<p> + Class to store array.array items. +</p> +<h3>Derived from</h3> +None +<h3>Class Attributes</h3> +<table> +<tr><td>None</td></tr> +</table> +<h3>Class Methods</h3> +<table> +<tr><td>None</td></tr> +</table> +<h3>Methods</h3> +<table> +<tr><td>None</td></tr> +</table> +<h3>Static Methods</h3> +<table> +<tr><td>None</td></tr> +</table> + +<div align="right"><a href="#top">Up</a></div> +<hr /><hr /> +<a NAME="ArrayResolver" ID="ArrayResolver"></a> +<h2>ArrayResolver</h2> +<p> + Class used to resolve from array.array including some meta data. +</p> +<h3>Derived from</h3> +BaseResolver +<h3>Class Attributes</h3> +<table> +<tr><td>TypeCodeMap</td></tr> +</table> +<h3>Class Methods</h3> +<table> +<tr><td>None</td></tr> +</table> +<h3>Methods</h3> +<table> +<tr> +<td><a href="#ArrayResolver.getDictionary">getDictionary</a></td> +<td>Public method to get the attributes of a variable as a dictionary.</td> +</tr><tr> +<td><a href="#ArrayResolver.resolve">resolve</a></td> +<td>Public method to get an attribute from a variable.</td> +</tr> +</table> +<h3>Static Methods</h3> +<table> +<tr><td>None</td></tr> +</table> +<a NAME="ArrayResolver.getDictionary" ID="ArrayResolver.getDictionary"></a> +<h4>ArrayResolver.getDictionary</h4> +<b>getDictionary</b>(<i>var</i>) +<p> + Public method to get the attributes of a variable as a dictionary. +</p><dl> +<dt><i>var</i> (any)</dt> +<dd> +variable to be converted +</dd> +</dl><dl> +<dt>Returns:</dt> +<dd> +dictionary containing the variable attributes +</dd> +</dl><dl> +<dt>Return Type:</dt> +<dd> +dict +</dd> +</dl><a NAME="ArrayResolver.resolve" ID="ArrayResolver.resolve"></a> +<h4>ArrayResolver.resolve</h4> +<b>resolve</b>(<i>var, attribute</i>) +<p> + Public method to get an attribute from a variable. +</p><dl> +<dt><i>var</i> (tuple or list)</dt> +<dd> +variable to extract an attribute or value from +</dd><dt><i>attribute</i> (str)</dt> +<dd> +id of the value to extract +</dd> +</dl><dl> +<dt>Returns:</dt> +<dd> +value of the attribute +</dd> +</dl><dl> +<dt>Return Type:</dt> +<dd> +any +</dd> +</dl> +<div align="right"><a href="#top">Up</a></div> +<hr /><hr /> <a NAME="BaseResolver" ID="BaseResolver"></a> <h2>BaseResolver</h2> <p> @@ -237,12 +353,12 @@ <h3>Methods</h3> <table> <tr> -<td><a href="#DictResolver.__keyToStr">__keyToStr</a></td> -<td>Private method to get a string representation for a key.</td> -</tr><tr> <td><a href="#DictResolver.getDictionary">getDictionary</a></td> <td>Public method to get the attributes of a variable as a dictionary.</td> </tr><tr> +<td><a href="#DictResolver.keyToStr">keyToStr</a></td> +<td>Public method to get a string representation for a key.</td> +</tr><tr> <td><a href="#DictResolver.resolve">resolve</a></td> <td>Public method to get an attribute from a variable.</td> </tr> @@ -251,27 +367,7 @@ <table> <tr><td>None</td></tr> </table> -<a NAME="DictResolver.__keyToStr" ID="DictResolver.__keyToStr"></a> -<h4>DictResolver.__keyToStr</h4> -<b>__keyToStr</b>(<i>key</i>) -<p> - Private method to get a string representation for a key. -</p><dl> -<dt><i>key</i> (any)</dt> -<dd> -key to be converted -</dd> -</dl><dl> -<dt>Returns:</dt> -<dd> -string representation of the given key -</dd> -</dl><dl> -<dt>Return Type:</dt> -<dd> -str -</dd> -</dl><a NAME="DictResolver.getDictionary" ID="DictResolver.getDictionary"></a> +<a NAME="DictResolver.getDictionary" ID="DictResolver.getDictionary"></a> <h4>DictResolver.getDictionary</h4> <b>getDictionary</b>(<i>var</i>) <p> @@ -291,6 +387,26 @@ <dd> dict </dd> +</dl><a NAME="DictResolver.keyToStr" ID="DictResolver.keyToStr"></a> +<h4>DictResolver.keyToStr</h4> +<b>keyToStr</b>(<i>key</i>) +<p> + Public method to get a string representation for a key. +</p><dl> +<dt><i>key</i> (any)</dt> +<dd> +key to be converted +</dd> +</dl><dl> +<dt>Returns:</dt> +<dd> +string representation of the given key +</dd> +</dl><dl> +<dt>Return Type:</dt> +<dd> +str +</dd> </dl><a NAME="DictResolver.resolve" ID="DictResolver.resolve"></a> <h4>DictResolver.resolve</h4> <b>resolve</b>(<i>var, attribute</i>) @@ -392,6 +508,205 @@ </dl> <div align="right"><a href="#top">Up</a></div> <hr /><hr /> +<a NAME="MultiValueDictResolver" ID="MultiValueDictResolver"></a> +<h2>MultiValueDictResolver</h2> +<p> + Class used to resolve from Django multi value dictionaries. +</p> +<h3>Derived from</h3> +DictResolver +<h3>Class Attributes</h3> +<table> +<tr><td>None</td></tr> +</table> +<h3>Class Methods</h3> +<table> +<tr><td>None</td></tr> +</table> +<h3>Methods</h3> +<table> +<tr> +<td><a href="#MultiValueDictResolver.getDictionary">getDictionary</a></td> +<td>Public method to get the attributes of a variable as a dictionary.</td> +</tr><tr> +<td><a href="#MultiValueDictResolver.resolve">resolve</a></td> +<td>Public method to get an attribute from a variable.</td> +</tr> +</table> +<h3>Static Methods</h3> +<table> +<tr><td>None</td></tr> +</table> +<a NAME="MultiValueDictResolver.getDictionary" ID="MultiValueDictResolver.getDictionary"></a> +<h4>MultiValueDictResolver.getDictionary</h4> +<b>getDictionary</b>(<i>var</i>) +<p> + Public method to get the attributes of a variable as a dictionary. +</p><dl> +<dt><i>var</i> (any)</dt> +<dd> +variable to be converted +</dd> +</dl><dl> +<dt>Returns:</dt> +<dd> +dictionary containing the variable attributes +</dd> +</dl><dl> +<dt>Return Type:</dt> +<dd> +dict +</dd> +</dl><a NAME="MultiValueDictResolver.resolve" ID="MultiValueDictResolver.resolve"></a> +<h4>MultiValueDictResolver.resolve</h4> +<b>resolve</b>(<i>var, attribute</i>) +<p> + Public method to get an attribute from a variable. +</p><dl> +<dt><i>var</i> (dict)</dt> +<dd> +variable to extract an attribute or value from +</dd><dt><i>attribute</i> (str)</dt> +<dd> +name of the attribute to extract +</dd> +</dl><dl> +<dt>Returns:</dt> +<dd> +value of the attribute +</dd> +</dl><dl> +<dt>Return Type:</dt> +<dd> +any +</dd> +</dl> +<div align="right"><a href="#top">Up</a></div> +<hr /><hr /> +<a NAME="NdArrayItemsContainer" ID="NdArrayItemsContainer"></a> +<h2>NdArrayItemsContainer</h2> +<p> + Class to store ndarray items. +</p> +<h3>Derived from</h3> +None +<h3>Class Attributes</h3> +<table> +<tr><td>None</td></tr> +</table> +<h3>Class Methods</h3> +<table> +<tr><td>None</td></tr> +</table> +<h3>Methods</h3> +<table> +<tr><td>None</td></tr> +</table> +<h3>Static Methods</h3> +<table> +<tr><td>None</td></tr> +</table> + +<div align="right"><a href="#top">Up</a></div> +<hr /><hr /> +<a NAME="NdArrayResolver" ID="NdArrayResolver"></a> +<h2>NdArrayResolver</h2> +<p> + Class used to resolve from numpy ndarray including some meta data. +</p> +<h3>Derived from</h3> +BaseResolver +<h3>Class Attributes</h3> +<table> +<tr><td>None</td></tr> +</table> +<h3>Class Methods</h3> +<table> +<tr><td>None</td></tr> +</table> +<h3>Methods</h3> +<table> +<tr> +<td><a href="#NdArrayResolver.__isNumeric">__isNumeric</a></td> +<td>Private method to check, if an array is of a numeric type.</td> +</tr><tr> +<td><a href="#NdArrayResolver.getDictionary">getDictionary</a></td> +<td>Public method to get the attributes of a variable as a dictionary.</td> +</tr><tr> +<td><a href="#NdArrayResolver.resolve">resolve</a></td> +<td>Public method to get an attribute from a variable.</td> +</tr> +</table> +<h3>Static Methods</h3> +<table> +<tr><td>None</td></tr> +</table> +<a NAME="NdArrayResolver.__isNumeric" ID="NdArrayResolver.__isNumeric"></a> +<h4>NdArrayResolver.__isNumeric</h4> +<b>__isNumeric</b>(<i>arr</i>) +<p> + Private method to check, if an array is of a numeric type. +</p><dl> +<dt><i>arr</i> (ndarray)</dt> +<dd> +array to check +</dd> +</dl><dl> +<dt>Returns:</dt> +<dd> +flag indicating a numeric array +</dd> +</dl><dl> +<dt>Return Type:</dt> +<dd> +bool +</dd> +</dl><a NAME="NdArrayResolver.getDictionary" ID="NdArrayResolver.getDictionary"></a> +<h4>NdArrayResolver.getDictionary</h4> +<b>getDictionary</b>(<i>var</i>) +<p> + Public method to get the attributes of a variable as a dictionary. +</p><dl> +<dt><i>var</i> (any)</dt> +<dd> +variable to be converted +</dd> +</dl><dl> +<dt>Returns:</dt> +<dd> +dictionary containing the variable attributes +</dd> +</dl><dl> +<dt>Return Type:</dt> +<dd> +dict +</dd> +</dl><a NAME="NdArrayResolver.resolve" ID="NdArrayResolver.resolve"></a> +<h4>NdArrayResolver.resolve</h4> +<b>resolve</b>(<i>var, attribute</i>) +<p> + Public method to get an attribute from a variable. +</p><dl> +<dt><i>var</i> (tuple or list)</dt> +<dd> +variable to extract an attribute or value from +</dd><dt><i>attribute</i> (str)</dt> +<dd> +id of the value to extract +</dd> +</dl><dl> +<dt>Returns:</dt> +<dd> +value of the attribute +</dd> +</dl><dl> +<dt>Return Type:</dt> +<dd> +any +</dd> +</dl> +<div align="right"><a href="#top">Up</a></div> +<hr /><hr /> <a NAME="SetResolver" ID="SetResolver"></a> <h2>SetResolver</h2> <p>