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
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4