On Dec 20, 6:40 pm, thebjorn
> I'm a bit ambivalent about the reset functionality. While it's a
> wonderful demonstration of a staticmethod, the very few times I've
> felt the need to "freshen-up" the object, I've always felt it was best
> to create it again from scratch. Do you have many uses of it in your
> code?

My use case is for web applications where the configuration
parameters are stored in a database. If you change them,
you can re-read them by resetting the configuration object
(you may have a reset button in the administrator Web user
interface) without restarting the application.

     Michele Simionato

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

Reply via email to