4.2 Deprecation of String Exceptions

The -X command-line option will be removed in Python 1.6. All exceptions built into Python or provided in the standard library will be classes derived from Exception.

String exceptions will still be supported in the interpreter to allow existing code to run unmodified, but this will also change in a future release.


Send comments on this document to python-docs@python.org.