[issue2341] Raise a Py3K warning when raise non-BaseException exceptions

Brett Cannon report at bugs.python.org
Mon Mar 17 19:10:56 CET 2008


New submission from Brett Cannon <brett at python.org>:

Raising exceptions that do not inherit from BaseException (e.g., classic
classes) should raise a Py3K warning.

----------
components: Interpreter Core
keywords: 26backport
messages: 63700
nosy: brett.cannon
priority: immediate
severity: normal
status: open
title: Raise a Py3K warning when raise non-BaseException exceptions
type: behavior
versions: Python 2.6

__________________________________
Tracker <report at bugs.python.org>
<http://bugs.python.org/issue2341>
__________________________________


More information about the Python-bugs-list mailing list