to raise a exception isn't a bug

Markus Schönhaber ubuntu-users at
Sun Jun 21 00:41:26 UTC 2009

Derek Broughton:

> Markus Schönhaber wrote:
>> Dotan Cohen:
>> I'm not sure what you're hinting at. Raising an exception really isn't a
>> bug but a way to cope with an error condition that can't be handled
>> otherwise.
> "Raising" an exception isn't a bug, but failing to _handle_ said exception 
> has to be.  No user application should be exiting with exceptions.

What's your point?
python-apt isn't a user application. Therefore closing said bug wrt
python-apt as invalid is perfectly reasonable.

>> The above bug report affects two packages - python-apt and
>> install-package. Somewhere in python-apt the exception may be raised.
>> But that's not the problem but rather that install-package wasn't able
>> to handle this exception gracefully. And for the latter a fix is released.
>> To me, everything seems to be well and sensible. Or do I miss something?
> Everything seems well if a fix has been released.


More information about the ubuntu-users mailing list