I tend to use the old style ("%s" % "lel"). Just wondering, does this affect that too?
>>> class foo:
... def __init__(self, **kwargs):
... self.__dict__.update(kwargs)
...
>>> my_foo = foo(secret="bazinga")
>>>
>>> "%(foo)s" % {'foo': my_foo}
''
>>>
>>> "%(foo.secret)s" % {'foo': my_foo}
Traceback (most recent call last):
File "", line 1, in
KeyError: 'foo.secret'