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 r.david.murray
Recipients lazka, luch, r.david.murray
Date 2017-12-19.23:50:51
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1513727451.45.0.213398074469.issue32268@psf.upfronthosting.co.za>
In-reply-to
Content
That's type checking.  Not type checking is to call the method that writes the data, expecting the object to handle the bytes it is passed, and then that object raises an error to indicate that it cannot.  There is no protocol that can be checked for.
History
Date User Action Args
2017-12-19 23:50:51r.david.murraysetrecipients: + r.david.murray, luch, lazka
2017-12-19 23:50:51r.david.murraysetmessageid: <1513727451.45.0.213398074469.issue32268@psf.upfronthosting.co.za>
2017-12-19 23:50:51r.david.murraylinkissue32268 messages
2017-12-19 23:50:51r.david.murraycreate