On 8/24/05, Michael Hudson <mwh at python.net> wrote: > I really hope string exceptions can be killed off before 3.0. They > should be fully deprecated in 2.5. But what about class exceptions that don't inherit from Exception? That will take a while before we can deprecate that. Anyway, there have been plenty of cases where I was only interested in catching arbitrary exceptions generated by *Python* (as opposed to broken 3rd party code or even obscure Python library code) and those all inherit from Exception. And in those cases I've written "except Exception:" and so far never regretted it. -- --Guido van Rossum (home page: http://www.python.org/~guido/)
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