I think using __new__ when a plain old factory method would
work is horrible. But I am not saying that there no use cases for
__new__. I used it once, when I wanted a class working
for the final user as a factory function. I just wrote the class in
lower case and gave it a custom __new__ method.

           Michele Simionato

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

Reply via email to