Author pitrou
Recipients eric.araujo, eric.smith, ncoghlan, pitrou, r.david.murray
Date 2010-09-29.09:57:38
SpamBayes Score 0.00164741
Marked as misclassified No
Message-id <>
> A possible duck-typing approach here would be to replace the
> "instance(x, str)" tests with "hasattr(x, 'encode')" checks instead.

Looks more ugly than useful to me. People wanting to emulate str had better subclass it anyway...
Date User Action Args
2010-09-29 09:57:42pitrousetrecipients: + pitrou, ncoghlan, eric.smith, eric.araujo, r.david.murray
2010-09-29 09:57:41pitrousetmessageid: <>
2010-09-29 09:57:39pitroulinkissue9873 messages
2010-09-29 09:57:38pitroucreate