Hi,
Using python-keyring v1.6.1, with gnome and python 2.7 (I use a debian testing system), I get a rather odd behavior of python keyring, which can be shown with the following sample code:
import keyring
p = keyring.get_password("foo", "bar")
print "OK" if p else "KO"
assuming password for user "bar" of service "foo" exists in gnome keyring, the code works fine and prints "OK"
now if I add some imports before importing keyring, such as:
from json import *
from pprint import *
import keyring
p = keyring.get_password("foo", "bar")
print "OK" if p else "KO"
then, python keyring is not able to retrieve the password and I get a KO.
This behavior depends on which imports are made before keyring, sometimes OK, sometimes KO, but for some given imports such as the one aboves, the behavior seems to be consistent (I mean: I always get KO, not randomly)
cheers,
Matthieu