John K Luebs wrote:
Currently, pygtk seems to be supporting both Python 2.2 and 2.3. What
does 2.3 have that 2.2 does not have that would warrant ditching support
for 2.2?

One small feature that might be nice is that Python 2.3 makes it easy for types created by C code to have class methods, by adding METH_CLASS to the flags in the PyMethodDef array (with METH_VARARGS and METH_KEYWORDS). This would make it possible to change from:


p = gtk.gdk.pixbuf_new_from_file(...)

to:

p = gtk.gdk.Pixbuf.new_from_file(...)

--
Tim Evans
Applied Research Associates NZ
http://www.aranz.com/

_______________________________________________
pygtk mailing list   [EMAIL PROTECTED]
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/

Reply via email to