~0x44/nova/bug838466

« back to all changes in this revision

Viewing changes to vendor/Twisted-10.0.0/twisted/internet/default.py

  • Committer: Jesse Andrews
  • Date: 2010-05-28 06:05:26 UTC
  • Revision ID: git-v1:bf6e6e718cdc7488e2da87b21e258ccc065fe499
initial commit

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
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: Itamar Shtull-Trauring
 
12
"""
 
13
 
 
14
import warnings
 
15
warnings.warn("twisted.internet.default is deprecated. Use posixbase or selectreactor instead.", category=DeprecationWarning)
 
16
 
 
17
# Backwards compat
 
18
from posixbase import PosixReactorBase
 
19
from selectreactor import SelectReactor, install
 
20
 
 
21
__all__ = ["install", "PosixReactorBase", "SelectReactor"]