On 12/10/05, Michael Hudson <[EMAIL PROTECTED]> wrote:
> Barry Warsaw <[EMAIL PROTECTED]> writes:
>
> > Let's say something like "string-based exceptions are strongly
> > discouraged, and in fact may be deprecated or disappear in a future
> > Python version.  Use class-based exceptions."
>
> If I have anything to do with it, they _will_ be deprecated in 2.5.
> There is simply no excuse for writing new code using string
> exceptions.
>

PEP 352 will deprecate raising string exceptions in 2.5 .

> Cheers,
> mwh
> (PS: are people still interested in my new-style exceptions patch?
>  http://bugs.python.org/1104669)

I am.  I was planning to use the patch as a base for implementing PEP
352.  Guido is pretty much ready to accept the PEP, he just has not
officially pronounced yet.

-Brett
_______________________________________________
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com

Reply via email to