Rob,

> Returning None will specifically NOT accomplish the thing you want; 
> nothing ever checks the return value of __init__.

I thought to have read that when you return a none from it the object itself 
would return a placeholder singleton.

> Raise an exception.

Yeah, that was what I was thinking too - up until the moment I realized that 
the than-needed "try" around creating the object would catch /all/ errors in 
there, and not just the "can't initialize" one ...   I might have 
misunderstood that though.

Regards,
Rudy Wieser


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

Reply via email to