Staging
v0.5.1
https://github.com/python/cpython
Revision ecab623e1315cd0cfbe01e046e618001fe315490 authored by Georg Brandl on 06 September 2006, 06:47:02 UTC, committed by Georg Brandl on 06 September 2006, 06:47:02 UTC
Also make sure that every exception class has __module__ set to
'exceptions'.
 (backport)
1 parent 37a9e57
Raw File
Tip revision: ecab623e1315cd0cfbe01e046e618001fe315490 authored by Georg Brandl on 06 September 2006, 06:47:02 UTC
Bug #1542051: Exceptions now correctly call PyObject_GC_UnTrack.
Tip revision: ecab623
sre.py
"""This file is only retained for backwards compatibility.
It will be removed in the future.  sre was moved to re in version 2.5.
"""

import warnings
warnings.warn("The sre module is deprecated, please import re.",
              DeprecationWarning, 2)

from re import *
from re import __all__
back to top