[docs] [issue8652] Minor improvements to the "Handling Exceptions" part of the tutorial

Éric Araujo report at bugs.python.org
Fri May 14 21:28:12 CEST 2010


Éric Araujo <merwok at netwok.org> added the comment:

The older exception catching syntax should not be promoted but could be mentioned, I agree. Adding a paragraph explaining why it was changed would do the trick.

Regarding the non-obviousness of which Python version the docs apply to, it is indeed mentioned on the front page of the docs, and repeated in the top-left corner of each page. You could propose making it bigger. Another way of doing this would be to have the page redirect to a URI that includes the version. That way, there would be another place to look for the version, and it would also make it easier to find out how to find the doc for other versions.

Last, exception unpacking being deprecated (because it’s horrible) and causing pain to newcomers seems a good reason to shot it down. Perhaps we should leave a short note about it, for people that get strange errors when using it inadvertently (or not getting an error where they thought they would).

I suggest you wait some more days for feedback from people with more experience with the docs. Sorry if my English was a bit convoluted :)

----------
nosy: +merwok

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue8652>
_______________________________________


More information about the docs mailing list