dynamic

Michele Simionato michele.simionato at gmail.com
Thu Jun 16 01:24:28 EDT 2005


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




More information about the Python-list mailing list