News for hackers. Stuff that matters.
Re:Python Tips and Traps by bdr on Monday January 19, 2015 @03:50PM (#8913991)
I don't think that's what they wanted:

    >>> nested_dd['d']
    'hello'
Re:Python Tips and Traps by choochootrain on Monday January 19, 2015 @03:57PM (#8914022)
try nested_dd = lambda: defaultdict(nested_dd)
Re:Python Tips and Traps by jamiesonbecker on Monday January 19, 2015 @04:15PM (#8914117)
Just. Wow.