[docs] [issue15034] Devguide should document best practices for stdlib exceptions
Terry J. Reedy
report at bugs.python.org
Sun Jul 1 01:08:10 CEST 2012
Terry J. Reedy <tjreedy at udel.edu> added the comment:
I agree with Raymond that this, especially super() is not tutorial material. I agree with David that we need something somewhere else. Just today a commit was pushed about IOException subclasses causing problems because they have an __init__ but don't call super(). (Something like that.) I had no idea about this issue.
The stdlib has things like "class ModException(Exception): pass". Is that okay because it does *not* have __init__ override?
Python tracker <report at bugs.python.org>
More information about the docs