[Python-Dev] 2.3 goals
Guido van Rossum
Tue, 09 Apr 2002 13:49:12 -0400
> Mention as an implementation detail should not cause something to be
> kept around. I don't recall "sre" being anything other than an
> implementation detail, either, so I'm not convinced that name needs to
> be maintained.
There *are* people who import sre or pre because they think they have
a preference. I propose to lose PCRE, but keep sre and pre as
(deprecated) aliases for re. I.e. e.g.
import warning as _warning
_warning.warn(..., "please use re, not pre")
from re import *
And ditto for sre. (Except maybe sre is an implementation artefact that
may be harder to get rid of -- I'm not in a hurry there.)
--Guido van Rossum (home page: http://www.python.org/~guido/)