Antoine Pitrou <[EMAIL PROTECTED]> added the comment: 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. _______________________________________ Python tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue3112> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com