Hi,

I've recently noticed that the method g_resources_register
in PyGObject corresponds to Gio.Resource._register, with a
trailing underscore. Gio.Resource.register does not work.

(Python 3 version of PyGObject 3.2.0 in Ubuntu Precise)

1) Is/Was this a bug or a conscious decision?

2) If it's a bug, can I trust that using _register will be
forwards compatible or should I wrap the call with a
try/except for AttributeError?

Thanks in advance!

_______________________________________________
python-hackers-list mailing list
[email protected]
https://mail.gnome.org/mailman/listinfo/python-hackers-list

Reply via email to