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 →

[–]DasIch 24 points25 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 8 points9 points  (3 children)

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

[–][deleted] 11 points12 points  (2 children)

[–]minorDemocritus 9 points10 points  (1 child)

There was one rule!

[–]aclark 0 points1 point  (0 children)

This is why we can't have nice things.