[Twisted-Python] minimal python version?

Yun Mao maoy at cis.upenn.edu
Sat Oct 25 10:45:22 MDT 2003


This may not be true..

$ python localsocks.py 
Traceback (most recent call last):
  File "localsocks.py", line 191, in ?
    main()
  File "localsocks.py", line 176, in main
    config = Options()
  File "twisted/python/usage.py", line 134, in __init__
    (longOpt, shortOpt, docs, settings, synonyms, dispatch) = c()
  File "twisted/python/usage.py", line 349, in _gather_handlers
    dispatch[prettyName] = new.instancemethod(fn, self, self.__class__)
TypeError: instancemethod() argument 3 must be class, not type

$ python
Python 2.2 (#1, Apr 12 2002, 15:29:57)
[GCC 2.96 20000731 (Red Hat Linux 7.2 2.96-109)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>>


I don't have this trouble when I use python 2.2.3.

Yun


On Fri, 24 Oct 2003, Christopher Armstrong wrote:

> On Fri, Oct 24, 2003 at 04:38:00PM -0400, Yun Mao wrote:
> > Hi, what's the minimal python version for correctly make twisted run? 
> > I'm pretty happy that 2.2.3 is working, is 2.2.1 supported?
> 
> 2.2.0 (I'll update the README - it just says "2.2" right now)
> 
> 





More information about the Twisted-Python mailing list