Staging
v0.5.1
https://github.com/python/cpython
Revision b1b3d080cb621e773dd0adedfa841e47cb14a209 authored by Tim Peters on 22 November 2003, 03:25:40 UTC, committed by Tim Peters on 22 November 2003, 03:25:40 UTC
sre in 2.3, and the backport of the 2.4 version of the tests should not
have been done.  It got confused because someone else checked a bad
change into _sre.c that caused the tests that are *supposed* to raise
a recursion exception to stop doing so on some (most?) platforms.

test_re passes again on Windows now.  Until the bad change to _sre gets
fixed, it will fail on platforms other than Windows and FreeBSD, either
by "Test Failed", or by bad consequences of C stack overflow.
1 parent f237c77
Raw File
Tip revision: b1b3d080cb621e773dd0adedfa841e47cb14a209 authored by Tim Peters on 22 November 2003, 03:25:40 UTC
Reverted from rev 1.45.6.1 to rev 1.45: deep recursion is still part of
Tip revision: b1b3d08
TERMIOS.py
"""Backward-compatibility version of TERMIOS; export constants exported by
termios, and issue a deprecation warning.
"""

import warnings
warnings.warn("the TERMIOS module is deprecated; please use termios",
              DeprecationWarning)


# Export the constants known to the termios module:
from termios import *

# and *only* the constants:
__all__ = [s for s in dir() if s[0] in "ABCDEFGHIJKLMNOPQRSTUVWXYZ"]
back to top