[issue13683] Docs in Python 3:raise statement mistake
Roundup Robot devn...@psf.upfronthosting.co.za added the comment: New changeset 420e01156272 by Sandro Tosi in branch '3.2': Issue #13683: raise with no exception in scope throws a RuntimeError; fix by Ramchandra Apte http://hg.python.org/cpython/rev/420e01156272 -- nosy: +python-dev ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13683 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue13683] Docs in Python 3:raise statement mistake
Changes by Sandro Tosi sandro.t...@gmail.com: -- nosy: +sandro.tosi resolution: - fixed stage: needs patch - committed/rejected status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13683 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue13683] Docs in Python 3:raise statement mistake
New submission from maniram maniram maniandra...@gmail.com: 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. -- assignee: docs@python components: Documentation messages: 150382 nosy: docs@python, maniram.maniram priority: normal severity: normal status: open title: Docs in Python 3:raise statement mistake versions: Python 3.2 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13683 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue13683] Docs in Python 3:raise statement mistake
Terry J. Reedy tjre...@udel.edu added the comment: Verified for 3.2.2 cmd window and idle. Fix looks good. -- keywords: +patch nosy: +terry.reedy stage: - needs patch type: - behavior versions: +Python 3.3 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13683 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com