Éric Araujo <mer...@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 <rep...@bugs.python.org>
<http://bugs.python.org/issue8652>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to