Hey

The following code is getting me a segfault (found by mistake on my
part, meant to compare with another attribute):

#!/usr/bin/env python
# -*- coding: utf-8 -*-

import pygtk
pygtk.require('2.0')
import gtk

class myImage(gtk.Image):
    def __init__(self):
      return

image = myImage()

if(image.parent == 0):
    print image


Current Ubuntu 9.04, python2.6.2-0ubuntu1, python-gtk2 2.14.1ubuntu1

It's silly code I know, but a more friendly error would be nice.

-Ralph

Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
pygtk mailing list   pygtk@daa.com.au
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://faq.pygtk.org/

Reply via email to