[stdlib-sig] Removing the deprecated sre module?

Brett Cannon brett at python.org
Tue May 6 01:22:18 CEST 2008


On Mon, May 5, 2008 at 3:35 PM, Alexandre Vassalotti
<alexandre at peadrop.com> wrote:
> Hi,
>
>  I know that the deadline for module removal is now passed, but I think
>  we forgot to decide what should happen to the deprecated sre module:
>
>  >>> import sre
>  :1: DeprecationWarning: The sre module is deprecated, please import re.
>  >>> help(sre)
>  ...
>  DESCRIPTION
>     This file is only retained for backwards compatibility.
>     It will be removed in the future.  sre was moved to re in version 2.5.
>  ...
>
>  Currently, the sre module is just a stub that imports the re module.
>  So, I don't think removing in Py3k will cause any problem.

I just added it to to the PEP for removal.

-Brett


More information about the stdlib-sig mailing list