PyGObject and g_resources_register



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!



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]