New style classes as exceptions (Was: exception handing)
Aahz
aahz at pythoncraft.com
Mon Jul 1 19:02:15 EDT 2002
In article <mailman.1025561284.5937.python-list at python.org>,
holger krekel <pyth at devel.trillke.net> wrote:
>Aahz wrote:
>> In article <mailman.1025531582.7339.python-list at python.org>,
>> Denis S. Otkidach <ods at fep.ru> wrote:
>>>
>>>New style classes don't work when used as exceptions. I guess it
>>>should be considered as a bug.
>>
>> Nope, that's just the way it currently works.
>
>what's your definition of a bug, then?
Something that doesn't work as designed. Guido specifically decided to
wait on making new-style classes work with exceptions -- there are still
too many applications using *string* exceptions.
--
Aahz (aahz at pythoncraft.com) <*> http://www.pythoncraft.com/
Project Vote Smart: http://www.vote-smart.org/
More information about the Python-list
mailing list