[Python-Dev] PEP-317

Guido van Rossum guido@python.org
Mon, 09 Jun 2003 10:27:08 -0400


> >> I am +1 on deprecating string exceptions for Python 3.

Python 3 will not have string exceptions.

> > PEP 317 actually proposes formally deprecating them in 2.4, and
> > eliminating them entirely in 3.0.  Are you +1 on that?
> 
> Given how deeply embedded string exceptions are in Python, I believe
> that we cannot afford to issue a DeprecationWarning until we start doing
> the same for integer division.

I don't see a reason to tie these two events together, but I agree
that 2.4 is probably too early to start being noisy about string
exceptions.  Nevertheless they should be deprecated in all docs.

--Guido van Rossum (home page: http://www.python.org/~guido/)