[Python-Dev] New-style exceptions patch (was Re: PEP 8 updates/clarifications)
Nick Coghlan
ncoghlan at gmail.com
Sat Dec 10 12:01:35 CET 2005
Michael Hudson wrote:
> Barry Warsaw <barry at python.org> 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.
>
> Cheers,
> mwh
> (PS: are people still interested in my new-style exceptions patch?
> http://bugs.python.org/1104669)
Is there a specific concern with it you want people to check out, or just a
few more "works for me" tests on different platforms?
Cheers.
Nick.
--
Nick Coghlan | ncoghlan at gmail.com | Brisbane, Australia
---------------------------------------------------------------
http://www.boredomandlaziness.org
More information about the Python-Dev
mailing list