Message 68612 - Python tracker

Message68612

Author pitrou
Recipients Rhamphoryncus, benjamin.peterson, gvanrossum, pitrou
Date 2008-06-23.07:08:31
SpamBayes Score 0.0023035076
Marked as misclassified No
Message-id <1214204902.5922.2.camel@fsol>
In-reply-to <aac2c7cb0806222315w78c41bb8xba2dba36cfac7e3f@mail.gmail.com>
Content
Le lundi 23 juin 2008 à 06:16 +0000, Adam Olsen a écrit :
> Failure doesn't have an args tuple and doesn't subclass Exception (or
> BaseException) - it already needs modification in 3.0.  It's heaped
> full of complexity and implementation details.  I wouldn't be
> surprised if your changes break it in subtle ways too.

Failure was only an example, I'm sure there are lots of other ones. The
point is that the assertion that user-defined exceptions can be safely
cloned by cloning their args is wrong, unless you want to put very
strong restrictions on how user-defined exceptions can behave.
History
Date User Action Args
2008-06-23 07:08:34pitrousetspambayes_score: 0.00230351 -> 0.0023035076
recipients: + pitrou, gvanrossum, Rhamphoryncus, benjamin.peterson
2008-06-23 07:08:33pitroulinkissue3112 messages
2008-06-23 07:08:31pitroucreate