mirror of
https://github.com/python/cpython.git
synced 2026-05-20 19:33:12 -04:00
bf36409e2a
added message attribute compared to the previous version of Exception. It is also a new-style class, making all exceptions now new-style. KeyboardInterrupt and SystemExit inherit from BaseException directly. String exceptions now raise DeprecationWarning. Applies patch 1104669, and closes bugs 1012952 and 518846.