__init__ vs __new__

2007-01-11 Thread Daniel Klein
I've have a program that is using both of the methods below (in different classes of course) for initializing the class. The example below shows a class with the 2 methods with one commented out. class JsubroutineParameters(list): Represents a list of arguments for external subroutine calls.

Re: __init__ vs __new__

2007-01-11 Thread Neil Cerutti
On 2007-01-11, Daniel Klein [EMAIL PROTECTED] wrote: I've have a program that is using both of the methods below (in different classes of course) for initializing the class. The example below shows a class with the 2 methods with one commented out. class JsubroutineParameters(list):