This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author rurpy2
Recipients docs@python, rurpy2
Date 2013-12-17.03:47:51
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1387252072.89.0.572943909834.issue20003@psf.upfronthosting.co.za>
In-reply-to
Content
In the current (3.3.3 and 3.4dev) Language Reference Manual, the section on the Raise statement fails to mention that the second expression can be None (per PEP-409/415) or the special behavior (suppressing a chained exception) that ensues.  Rather it explicitly states it can not be None:
 "...the second expression must be another exception class  or instance..."

It appears that although the Exceptions section of the Library Reference was updated when PEP-409/415 was implemented, the Language Reference was not.
History
Date User Action Args
2013-12-17 03:47:53rurpy2setrecipients: + rurpy2, docs@python
2013-12-17 03:47:52rurpy2setmessageid: <1387252072.89.0.572943909834.issue20003@psf.upfronthosting.co.za>
2013-12-17 03:47:52rurpy2linkissue20003 messages
2013-12-17 03:47:51rurpy2create