|
From: Stas Z <sta...@gm...> - 2005-09-19 07:06:45
|
On 9/19/05, Waseem S. Daher <wd...@mi...> wrote: > Yep, adding the [] fixed the first problem. Yep, but will result in a wrong dictionary containing the javascript values= . =20 > However, with all version of python I have (2.2, 2.3, 2.4), libgmail.py > still dies: [....] > self.id =3D threadsInfo[T_THREADID] # TODO: Change when canonical > updated? > TypeError: unsubscriptable object Which results in this exception. See my former reply about the corupted version of your libgmail.py. > ------------------------------------ >=20 > Also worth noting is that on debian the logging package seems to be > broken in 2.2 > ------------------------------------ > wdaher@wdaher:~/Projects/libgmail$ python2.2 libgmail.py > Traceback (most recent call last): > File "libgmail.py", line 46, in ? > import logging > ImportError: No module named logging > ------------------------------------ Correct, logging was introduced in 2.3. I suggest to make libgmail depend on Python >=3D 2.3.=20 Python 2.2 is 2+ years old now. However we could make a test when importing the logging module and when it fails introduce a logging function that just prints the message. Stas --=20 A nation that continues year after year to spend more money on military def= ense than on programs of social uplift is approaching spiritual doom. Martin Luther King, Jr. |