Guido van Rossum <[EMAIL PROTECTED]> writes:
> [Michael]
>> It would still be worth doing, IMHO.
>
> Then let's do it. Care to resurrect your patch? (And yes, classic
> classes should also be allowed for b/w compatibility.)
I found it and uploaded it here:
http://starship.python.net/crew/mwh/new-style-exception-hacking.diff
The change to type_str was the sort of unexpected change I was talking
about.
TBH, I'm not sure it's really worth working from my patch, a more
sensible course would be to just do the work again, but paying a bit
more attention to getting a maintainable result.
Questions:
a) Is Exception to be new-style?
b) Somewhat but not entirely independently, would demanding that all
new-style exceptions inherit from Exception be reasonable?
Cheers,
mwh
--
ZAPHOD: You know what I'm thinking?
FORD: No.
ZAPHOD: Neither do I. Frightening isn't it?
-- The Hitch-Hikers Guide to the Galaxy, Episode 11
_______________________________________________
Python-Dev mailing list
[email protected]
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe:
http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com