[Python-3000-checkins] r58914 - in python/branches/py3k: Lib/io.py Lib/test/test_io.py Modules/_fileio.c
Christian Heimes
lists at cheimes.de
Fri Nov 9 02:16:38 CET 2007
Guido van Rossum wrote:
> Sure; or perhaps better
>
> try:
> pos = pos.__index__()
> except AttributeError as err:
> raise TypeError("an integer is required") from err
raise from err?
*searching*
'The “from” clause is used for exception chaining, which is not
documented yet.'
Ah! The sentence explains why I've not heard from the new feature yet. :)
Christian
More information about the Python-3000-checkins
mailing list