OLD | NEW |
| (Empty) |
1 # -*- test-case-name: twisted.test.test_internet -*- | |
2 # $Id: default.py,v 1.90 2004/01/06 22:35:22 warner Exp $ | |
3 # | |
4 # Copyright (c) 2001-2004 Twisted Matrix Laboratories. | |
5 # See LICENSE for details. | |
6 | |
7 | |
8 """ | |
9 Deprecated module that used to contain SelectReactor and PosixReactorBase | |
10 | |
11 Maintainer: U{Itamar Shtull-Trauring<mailto:twisted@itamarst.org>} | |
12 """ | |
13 | |
14 import warnings | |
15 warnings.warn("twisted.internet.default is deprecated. Use posixbase or selectre
actor instead.", category=DeprecationWarning) | |
16 | |
17 # Backwards compat | |
18 from posixbase import PosixReactorBase | |
19 from selectreactor import SelectReactor, install | |
20 | |
21 __all__ = ["install", "PosixReactorBase", "SelectReactor"] | |
OLD | NEW |