title: HTML form name array parsing in Pyramid (Python)
body: <p>Is there any way for <a href="http://docs.pylonsproject.org/projects/pyramid/1.0/" rel="nofollow">Pyramid</a> to process HTML form input which looks like this:</p>
  
  <pre><code>&lt;input type="text" name="someinput[]" value="" /&gt;
  </code></pre>
  
  <p>or even more usefully:</p>
  
  <pre><code>&lt;input type="text" name="someinput[0][subelement1]" value="" /&gt;
  &lt;input type="text" name="someinput[0][subelement2]" value="" /&gt;
  &lt;input type="text" name="someinput[1][subelement1]" value="" /&gt;
  &lt;input type="text" name="someinput[1][subelement2]" value="" /&gt;
  </code></pre>
  
  <p>...and access that data easily (e.g. via a dict)?</p>
  
  <p>Any help would be much appreciated!</p>
  
  <p><strong>EDIT:</strong> to make it clearer, what I need is the ability to have a form where a user can add as many 'instances' of a group of input elements, e.g. adding between 1 and <em>n</em> users, each containing a <code>firstname</code>, <code>lastname</code>, <code>username</code> (or something like that).</p>