
29 Aug
2018
29 Aug
'18
4:38 a.m.
Raymond Hettinger raymond.hettinger@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.
---------- nosy: +rhettinger
_______________________________________ Python tracker report@bugs.python.org https://bugs.python.org/issue34538 _______________________________________