Paul Pogonyshev added the comment:

Using slightly modified PyGObject (so that it gives more useful error
message in pyg_enum_new) and adding 'raise' in the end of attached
example, I got this:

<enum GTK_RC_TOKEN_LOWEST of type GtkRcTokenType> <class
'gtk._gtk.RcTokenType'>
Traceback (most recent call last):
  File "<stdin>", line 5, in <module>
ValueError: value out of range (294 not in 0..40)

Not sure what it means yet...

----------
nosy: +_doublep

__________________________________
Tracker <[EMAIL PROTECTED]>
<http://bugs.python.org/issue2199>
__________________________________
_______________________________________________
Python-bugs-list mailing list 
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to