A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2002-April/022837.html below:

[Python-Dev] 2.3 goals

[Python-Dev] 2.3 goalsGuido van Rossum guido@python.org
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.

    # 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/)




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