desktop-packages team mailing list archive
-
desktop-packages team
-
Mailing list archive
-
Message #68814
[Bug 920810] [NEW] python bindings do not export any methods
Public bug reported:
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).
** Affects: lightdm (Ubuntu)
Importance: Undecided
Status: New
** Summary changed:
- lighdm some python bindings do not export any methods
+ python bindings do not export any methods
--
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:
python bindings do not export any methods
Status in “lightdm” package in Ubuntu:
New
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/ubuntu/+source/lightdm/+bug/920810/+subscriptions
Follow ups
References