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
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4