[docs] [issue34538] Remove encouragement to author a base class for all Exception subclasses in a module
report at bugs.python.org
Wed Aug 29 05:38:44 EDT 2018
Raymond Hettinger <raymond.hettinger at gmail.com> added the comment:
I think the advice should stay as-is. In my experience as a teacher, the possibility doesn't usually occur to people without it having been suggested. Also, it mirrors practices in the standard library (decimal.DecimalException and sqlite3.DatabaseError). For users, it provides a way to catch possible errors that are specific to a particular module.
Python tracker <report at bugs.python.org>
More information about the docs