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 brett.cannon
Recipients Oren Milman, brett.cannon, twouters
Date 2017-08-28.19:45:47
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1503949548.08.0.470892160181.issue31291@psf.upfronthosting.co.za>
In-reply-to
Content
I don't think this is a bad thing. This is duck-typing at work to be flexible where the type doesn't really matter, just the provided interface. If someone happens to provide an object that doesn't do the right thing then that's their fault for using the wrong object and the resulting exception that will occur from a bad path is acceptable.

I appreciate the work to do a PR, Oren, but I'm closing this issue as "rejected". (And if it makes you feel any better, you helped find a bug in the Bedevere bot. :) .
History
Date User Action Args
2017-08-28 19:45:48brett.cannonsetrecipients: + brett.cannon, twouters, Oren Milman
2017-08-28 19:45:48brett.cannonsetmessageid: <1503949548.08.0.470892160181.issue31291@psf.upfronthosting.co.za>
2017-08-28 19:45:48brett.cannonlinkissue31291 messages
2017-08-28 19:45:47brett.cannoncreate