summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_pep352.py
Commit message (Collapse)AuthorAgeFilesLines
* Remove __unicode__ method so that ``unicode(BaseException)`` succeeds.Brett Cannon2006-09-091-2/+1
| | | | Fixes bug #1551432.
* Fix parsing of exception_hierarchy.txt when a platform-specific exception isBrett Cannon2006-03-011-0/+1
| | | | specified. Hopefully this wll bring warming to Tim's Windows-loving heart.
* PEP 352 implementation. Creates a new base class, BaseException, which has anBrett Cannon2006-03-011-0/+182
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.