News for hackers. Stuff that matters.
Re:Using attrs for everything in Python by desdiv on Thursday August 25, 2016 @04:03PM (#12362028)
You're probably thinking of jsobject¹:

    from jsobject import Object
    foo = Object()
    foo.x = 1
    foo.a = {}  # foo.a.b will fail without this line
    foo.a.b = 2
    print(foo)  # prints: {'a': {'b': 2}, 'x': 1}
¹ https://pypi.python.org/pypi/jsobject/

There are no comments on this comment yet.