
Dec. 22, 1999
2:23 p.m.
Guido van Rossum writes:
(The next step would be to outlaw raise with a string argument; I think I can't make that for 1.6. But it would be a good idea to scan the standard library for string exceptions and convert all of them.)
I don't know if requiring class-based exceptions will make the runtime any simpler, but that seems the only reason to do it. The only reason to remove -X, and possibly the string exception fallback code, is to ensure that we *can* subclass Exception and friends without having to catch TypeError and do something different. -Fred -- Fred L. Drake, Jr. <fdrake at acm.org> Corporation for National Research Initiatives