Russell Blau wrote:
> Try __new__(). http://docs.python.org/ref/customization.html This isn't
> the usual application of __new__, but since it returns an object it should
> be ideal for your purposes.
Or simply create a factory function to return your instances -- which is
in effect what __new_
"Yin" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> I've created a class that reads in and processes a file in the
> initializer __init__. The processing is fairly substantial, and thus,
> instead of processing the file every time the object is created, I
> pickle the object to a f