tor 2003-04-03 klockan 15.40 skrev george young: > [pygtk-1.99.15, gtk+-2.2.1, python 2.3.a1, x86 linux] > I have used > ls = ListStore(str, str, str) > > with success, but > ls = ListStore(bool, str, str) > > fails with a nasty, misleading "could not get typecode from object" in a > *subsequent* statement! If I change "bool" to gobject.TYPE_BOOLEAN, it > works fine. Eeek, this took me a long while to debug! Are python type > objects like "str" and "bool" not supposed to be used here? And why doesn't > the traceback point to the appropriate offending statement?
Are str, int, float, object etc working but not bool? I think it's because python 2.3a is not fully supported yet. Could you please fill a bug against this in mozilla? I think there is a better traceback in 1.99.16, have you tried it out? -- Johan Dahlin <[EMAIL PROTECTED]> Async Open Source _______________________________________________ pygtk mailing list [EMAIL PROTECTED] http://www.daa.com.au/mailman/listinfo/pygtk Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/
