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 exarkun
Recipients exarkun
Date 2007-09-11.15:16:34
SpamBayes Score 0.0030806928
Marked as misclassified No
Message-id <1189523795.09.0.87571084132.issue1147@psf.upfronthosting.co.za>
In-reply-to
Content
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.
History
Date User Action Args
2007-09-11 15:16:35exarkunsetspambayes_score: 0.00308069 -> 0.0030806928
recipients: + exarkun
2007-09-11 15:16:35exarkunsetspambayes_score: 0.00308069 -> 0.00308069
messageid: <1189523795.09.0.87571084132.issue1147@psf.upfronthosting.co.za>
2007-09-11 15:16:35exarkunlinkissue1147 messages
2007-09-11 15:16:34exarkuncreate