Are "Container" classes not pythonic?
<p>Say I want to use a mutable dictionary like object for passing data in between processes, but instead of using the built in dictionary type, I create an empty "Container" class, like so:</p>

<pre><code>class Container(object):
  pass

x = Container()
x.a = 42
x.b = ['Hitch', 'Hiker']
</code></pre>

<p>Now, I can use <code>x.a</code> instead of writing out <code>x['a']</code>, which seems a bit clearer to me. Assuming I don't expect to be looping over the key values, are there any major disadvantages that I'm missing by using this "Container" vs. standard dictionaries?</p>