[docs] [issue34538] Remove encouragement to author a base class for all Exception subclasses in a module

INADA Naoki report at bugs.python.org
Fri Aug 31 03:19:44 EDT 2018

INADA Naoki <songofacandy at gmail.com> added the comment:

I didn't claim this pattern is not used anymore.
My point is "should we suggest this pattern for tutorial readers?"

* Is this pattern recommended blindly?  -- I think no.
* How / when this pattern is recommended?  -- When there is use case people want to catch the base exception.
* Should it be in tutorial?  -- I doubt it.  This topic requires some experience to understand.


Python tracker <report at bugs.python.org>

More information about the docs mailing list