[Python-Dev] 2.3 goals (original) (raw)
Guido van Rossum guido@python.org
Tue, 09 Apr 2002 13:49:12 -0400
- Previous message: [Python-Dev] 2.3 goals
- Next message: [Python-Dev] 2.3 goals
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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.
# pre.py
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/)
- Previous message: [Python-Dev] 2.3 goals
- Next message: [Python-Dev] 2.3 goals
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]