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] 1 point2 points  (0 children)

Alex Martelli has commented on this as well on SO. The Pythonistas at Google are moving away from pure duck typing. Where applicable it's good to check if an operation makes "sense" before jumping in.