
Mathias Panzenböck <grosser.meister.morti@gmx.net> writes:
I wonder in which version the "except Foo as e" syntax was added (as opposed to "except Foo, e"). The documentations does not state this but I think it wasn't there in Python 2.4.
First in Python 3.0. Backported from there to Python 2.6. <URL:http://www.python.org/dev/peps/pep-3110/#compatibility>
I propose that such things are always mentioned in the documentation and formated so that you can easily find the version numbers.
Yes, that's a good proposal which is already known, and needs people to do the work of implementing and maintaining it. In the meantime, you have available the “What's New In Python” documents that accompany each version. -- \ “The surest way to corrupt a youth is to instruct him to hold | `\ in higher esteem those who think alike than those who think | _o__) differently.” —Friedrich Nietzsche, _The Dawn_, 1881 | Ben Finney