Python from Wise Guy's Viewpoint

Rainer Deyke rainerd at eldwood.com
Sat Oct 25 17:50:43 EDT 2003


Joachim Durchholz wrote:
> Of course, some problems are more serious than others;
> the absence of a good way to catch exceptions in C++ constructors
> (and, hence, that an exception thrown somewhere within a C++
> constructor will almost inevitably leak memory)

This is simply not the case.  There is no problem with catching exceptions
in constructors in C++, and 99% of the time it isn't necessary anyway.


-- 
Rainer Deyke - rainerd at eldwood.com - http://eldwood.com






More information about the Python-list mailing list