[Python-Dev] PEP 8 updates/clarifications (original) (raw)
Brett Cannon bcannon at gmail.com
Sat Dec 10 23:27:21 CET 2005
- Previous message: [Python-Dev] New-style exceptions patch
- Next message: [Python-Dev] PEP 8 updates/clarifications
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On 12/10/05, Michael Hudson <mwh at python.net> 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.
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
- Previous message: [Python-Dev] New-style exceptions patch
- Next message: [Python-Dev] PEP 8 updates/clarifications
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]