New submission from Jean-Paul Calderone: Python 2.5 deprecated raising string exceptions. It also added the throw method to generator objects which can be used to raise an exception, including a string exception. Raising an exception with this method doesn't issue a deprecation warning.
It looks like Python 2.6 will remove string exceptions entirely. Current trunk still allows strings to be passed to the throw method of generators though, and raises the string exception, again without a deprecation warning. ---------- components: Interpreter Core messages: 55825 nosy: exarkun severity: normal status: open title: string exceptions inconsistently deprecated/disabled type: behavior versions: Python 2.5, Python 2.6 __________________________________ Tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue1147> __________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com