title: Parsing dicts in querystrings in Python?
body: <p>It's fairly standard to encode querystrings like this:</p>
  
  <pre><code>urlencode({
    'a': {
      'b': 1
    },
  })
  # a[b]=1
  </code></pre>
  
  <p>However:</p>
  
  <pre><code>parse_qs('a[b]=1')
  # {'a[b]': 1}
  </code></pre>
  
  <p>Does Python have a built-in function to parse querystrings containing dicts? If not, what's a clean way to do so?</p>