Introspection bindings do not export any methods
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Light Display Manager |
Fix Released
|
Medium
|
Unassigned | ||
lightdm (Ubuntu) |
Fix Released
|
Medium
|
Unassigned |
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.
['__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
This pattern repeats for Session/
summary: |
- lighdm some python bindings do not export any methods + python bindings do not export any methods |
Changed in lightdm: | |
status: | Fix Committed → Fix Released |
Fixed in master