[issue20624] Clarify recommendation to inherit from Exception

2014-04-14 Thread Roundup Robot
Roundup Robot added the comment: New changeset 8dc1b45bd467 by Mark Dickinson in branch '3.4': Issue #20624: Exception docs wording tweak - clarify that it's okay to inherit from a subclass of Exception. http://hg.python.org/cpython/rev/8dc1b45bd467 New changeset 262204877004 by Mark Dickinson

[issue20624] Clarify recommendation to inherit from Exception

2014-04-14 Thread Roundup Robot
Roundup Robot added the comment: New changeset f729a0e90c4f by Mark Dickinson in branch '2.7': Issue #20624: Merge exception docs tweak from 3.4 branch. http://hg.python.org/cpython/rev/f729a0e90c4f -- ___ Python tracker rep...@bugs.python.org

[issue20624] Clarify recommendation to inherit from Exception

2014-04-14 Thread Mark Dickinson
Mark Dickinson added the comment: Fixed. Closing. -- resolution: - fixed status: open - closed versions: +Python 3.5 -Python 3.3 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue20624 ___

[issue20624] Clarify recommendation to inherit from Exception

2014-04-12 Thread Mark Dickinson
Changes by Mark Dickinson dicki...@gmail.com: -- assignee: docs@python - mark.dickinson ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue20624 ___

[issue20624] Clarify recommendation to inherit from Exception

2014-02-14 Thread Mark Dickinson
New submission from Mark Dickinson: From http://docs.python.org/3.4/library/exceptions.html: ... programmers are encouraged to at least derive new exceptions from the Exception class and not BaseException. This wording had someone I've talked to recently thinking that user-defined exceptions

[issue20624] Clarify recommendation to inherit from Exception

2014-02-14 Thread Éric Araujo
Éric Araujo added the comment: In my reading “at least” means that exceptions should derive from Exception if they don’t derive from a more specific subclass. IOW the same meaning as your proposed wording, but less clear. +1 to your rewording. -- nosy: +eric.araujo