[docs] [issue25381] Doc: Use of old description of raise in Python3

Martin Panter report at bugs.python.org
Tue Oct 13 07:07:24 CEST 2015

Martin Panter added the comment:

“Associated value” still seems a bit weird. I wonder if it would be clearer to say

The exception type is stored in a static global variable . . . A second global variable stores the exception instance passed to :keyword:`raise` . . .

Also further down that section it looks like there are other problems. “Exception object” is perhaps actually a C object referencing the exception class (type). ‘Python string object . . . stored as the "associated value" ’ should perhaps be the exception instance (object). I think a long time ago Python may have actually worked this way, but not any more, and the whole section probably needs updating.

nosy: +martin.panter

Python tracker <report at bugs.python.org>

More information about the docs mailing list