This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author ncoghlan
Recipients benjamin.peterson, docs@python, eric.araujo, ezio.melotti, georg.brandl, hynek, ncoghlan, nikratio, pitrou, r.david.murray, stutzbach
Date 2014-06-15.21:49:11
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <CADiSq7cTO08un0POtqzXqNLqQEyjM4KEODC_r5ij6GDzcA=iTw@mail.gmail.com>
In-reply-to <539DEAF9.70407@rath.org>
Content
Asking the question "Does it quack and walk *enough* like a duck for my
code to work and my tests to pass?" is part of the nature of ducktyping.

ABCs are definitely a useful guide to expectations, but even there it's
possible to lie to the interpreter and have "required" methods that raise
NotImplementedError, or do an explicit registration without implementing
the full interface.
History
Date User Action Args
2014-06-15 21:49:11ncoghlansetrecipients: + ncoghlan, georg.brandl, pitrou, benjamin.peterson, stutzbach, ezio.melotti, eric.araujo, r.david.murray, nikratio, docs@python, hynek
2014-06-15 21:49:11ncoghlanlinkissue21763 messages
2014-06-15 21:49:11ncoghlancreate