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 Ramchandra Apte
Recipients Ramchandra Apte, docs@python
Date 2011-12-30.15:34:13
SpamBayes Score 4.7755915e-08
Marked as misclassified No
Message-id <1325259254.7.0.957455919083.issue13683@psf.upfronthosting.co.za>
In-reply-to
Content
In the Python 3 docs for the raise statement, http://docs.python.org/py3k/reference/simple_stmts.html#the-raise-statement,the docs say "If no exception is active in the current scope, a TypeError exception is raised indicating that this is an error (if running under IDLE, a queue.Empty exception is raised instead).

This is wrong in Python 3 because raise raises a RuntimeError and IDLE does the same (does not raise a queue.Empty Exception).

The text should be "If no exception is active in the current scope, a RuntimeError exception is raised indicating that this is an error."
History
Date User Action Args
2011-12-30 15:34:14Ramchandra Aptesetrecipients: + Ramchandra Apte, docs@python
2011-12-30 15:34:14Ramchandra Aptesetmessageid: <1325259254.7.0.957455919083.issue13683@psf.upfronthosting.co.za>
2011-12-30 15:34:14Ramchandra Aptelinkissue13683 messages
2011-12-30 15:34:13Ramchandra Aptecreate