Tobiah wrote:

If within the __getitem__ method I attempt
to get an item from self, the __getitem__ method is
called in an infinite recursion.

You need to explicitly use dict.__getitem__(self, key) instead of using self[key] directly. -- Michael Hoffman -- http://mail.python.org/mailman/listinfo/python-list

Reply via email to