Author ncoghlan
Recipients eric.araujo, eric.smith, ncoghlan, r.david.murray
Date 2010-09-28.21:56:30
SpamBayes Score 0.0634641
Marked as misclassified No
Message-id <1285710992.63.0.754231987344.issue9873@psf.upfronthosting.co.za>
In-reply-to
Content
A possible duck-typing approach here would be to replace the "instance(x, str)" tests with "hasattr(x, 'encode')" checks instead.

Thoughts?
History
Date User Action Args
2010-09-28 21:56:32ncoghlansetrecipients: + ncoghlan, eric.smith, eric.araujo, r.david.murray
2010-09-28 21:56:32ncoghlansetmessageid: <1285710992.63.0.754231987344.issue9873@psf.upfronthosting.co.za>
2010-09-28 21:56:31ncoghlanlinkissue9873 messages
2010-09-28 21:56:30ncoghlancreate