desktop-packages team mailing list archive
-
desktop-packages team
-
Mailing list archive
-
Message #68828
[Bug 920810] Re: python bindings do not export any methods
Fixed in master
** Changed in: lightdm (Ubuntu)
Status: New => Triaged
** Changed in: lightdm (Ubuntu)
Importance: Undecided => Medium
** Also affects: lightdm
Importance: Undecided
Status: New
** Changed in: lightdm
Status: New => Triaged
** Changed in: lightdm
Importance: Undecided => Medium
** Summary changed:
- python bindings do not export any methods
+ Introspection bindings do not export any methods
** Changed in: lightdm (Ubuntu)
Status: Triaged => Fix Committed
** Changed in: lightdm
Status: Triaged => Fix Committed
--
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to lightdm in Ubuntu.
https://bugs.launchpad.net/bugs/920810
Title:
Introspection bindings do not export any methods
Status in Light Display Manager:
Fix Committed
Status in “lightdm” package in Ubuntu:
Fix Committed
Bug description:
I was trying to write a basic greeter, following the example code when
I ran into some issues. I then started doing introspection and it
seems to show that the python bindings for objects are no longer
exporting any methods:
>>> g = LightDM.Greeter()
>>> dir(g)
['__class__', '__delattr__', '__dict__', '__doc__', '__eq__', '__format__', '__ge__', '__getattribute__', '__gt__', '__gtype__', '__hash__', '__info__', '__init__', '__le__', '__lt__', '__module__', '__ne__', '__new__', '__reduce__', '__reduce_ex__', '__repr__', '__setattr__', '__sizeof__', '__str__', '__subclasshook__', '__weakref__', 'parent_instance']
The *Class() objects still show some methods on the other hand:
>>> dir(LightDM.GreeterClass)
['__class__', '__delattr__', '__dict__', '__doc__', '__eq__', '__format__', '__ge__', '__getattribute__', '__gt__', '__gtype__', '__hash__', '__info__', '__init__', '__le__', '__lt__', '__module__', '__ne__', '__new__', '__reduce__', '__reduce_ex__', '__repr__', '__setattr__', '__sizeof__', '__str__', '__subclasshook__', '__weakref__', 'authentication_complete', 'autologin_timer_expired', 'parent_class', 'reserved1', 'reserved2', 'reserved3', 'reserved4', 'reserved5', 'reserved6', 'show_message', 'show_prompt']
This pattern repeats for Session/SessionClass, Language/LanguageClass,
etc. (I did not check them all).
To manage notifications about this bug go to:
https://bugs.launchpad.net/lightdm/+bug/920810/+subscriptions
References