Hi...
Attached is a patch against 2.0.0pre07 which replaces instances of tuple()
with tuple([]). This is necessary since tuple() is not valid under
python 2.1.
For example, under python 2.1:
>>> print tuple()
Traceback (most recent call last):
File "<stdin>", line 1, in ?
TypeError: tuple() takes exactly 1 argument (0 given)
>>> print tuple([])
()
>>>
Under python 2.2:
>>> print tuple()
()
>>> print tuple([])
()
>>>
Could you please apply this? I realise that you may think python 2.1 is
old/deprecated, but it seems like not much work is required to keep it
functional for a little bit longer (ideally, I'd like it to work until
the next debian release).
=)
Peter
|