Commit 2e1a795d authored by Jim Fulton's avatar Jim Fulton

Moved Python 1.x compatable asyncx to their own package that takes

care of installing them when necessary (not for Python 2.0)
parent 48083622
# We want to use updated asynchat and asyncore if using Python1.5
import sys
if sys.version[:1] < '2':
import asyncore, asynchat
sys.modules['asyncore']=asyncore
sys.modules['asynchat']=asynchat
del asyncore
del asynchat
del sys
# -*- Mode: Python; tab-width: 4 -*-
# $Id: asynchat.py,v 1.12 2000/06/02 14:22:48 brian Exp $
# $Id: asynchat.py,v 1.1 2001/04/05 23:38:16 jim Exp $
# Author: Sam Rushing <rushing@nightmare.com>
# ======================================================================
......
# -*- Mode: Python; tab-width: 4 -*-
# $Id: asyncore.py,v 1.13 2000/10/01 15:58:56 jim Exp $
# $Id: asyncore.py,v 1.1 2001/04/05 23:38:16 jim Exp $
# Author: Sam Rushing <rushing@nightmare.com>
# ======================================================================
......
# We want to use updated asynchat and asyncore if using Python1.5
import sys
if sys.version[:1] < '2':
import asyncore, asynchat
sys.modules['asyncore']=asyncore
sys.modules['asynchat']=asynchat
del asyncore
del asynchat
del sys
# -*- Mode: Python; tab-width: 4 -*-
# $Id: asynchat.py,v 1.12 2000/06/02 14:22:48 brian Exp $
# $Id: asynchat.py,v 1.1 2001/04/05 23:38:16 jim Exp $
# Author: Sam Rushing <rushing@nightmare.com>
# ======================================================================
......
# -*- Mode: Python; tab-width: 4 -*-
# $Id: asyncore.py,v 1.13 2000/10/01 15:58:56 jim Exp $
# $Id: asyncore.py,v 1.1 2001/04/05 23:38:16 jim Exp $
# Author: Sam Rushing <rushing@nightmare.com>
# ======================================================================
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment