On 2/22/11 1:49 PM, goodman wrote:
Hi, my question is this: Is it a bad idea to create a wrapper class
for a dictionary so I can add attributes?

Nope. I do recommend adding a custom __repr__(), though.

--
Robert Kern

"I have come to believe that the whole world is an enigma, a harmless enigma
 that is made terrible by our own mad attempt to interpret it as though it had
 an underlying truth."
  -- Umberto Eco

--
http://mail.python.org/mailman/listinfo/python-list

Reply via email to