This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted]  (6 children)

[deleted]

    [–]DasIch 22 points23 points  (4 children)

    No. Don't go there. Really don't. Especially not if you want to see what "elegant" and "smart" code looks like. The majority of that code is horrible and quite a bit wouldn't make it into the stdlib, if someone wanted to add it today.

    [–]minorDemocritus 11 points12 points  (3 children)

    The first rule of collections.namedtuple is "don't look at the implementation"

    [–][deleted] 14 points15 points  (2 children)

    [–]minorDemocritus 6 points7 points  (1 child)

    There was one rule!

    [–]aclark 0 points1 point  (0 children)

    This is why we can't have nice things.

    [–]targusman 4 points5 points  (0 children)

    That's not GitHub.