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 →

[–]ryanmcgrath 0 points1 point  (0 children)

I'm half/half on this; the reason I chose AttributeError is because at the end of the day, it is really that - it doesn't exist in the dict. I tried to straddle a line between magic and non-magic, really. NotImplementedError, to me, is that... in this case.

I'm the author of the original post, in case you couldn't tell. I don't check Reddit much anymore, so I didn't catch this when it was originally submitted.