Message117556
| Author |
ncoghlan |
| Recipients |
eric.araujo, eric.smith, ncoghlan, r.david.murray |
| Date |
2010年09月28日.21:56:30 |
| SpamBayes Score |
0.063464135 |
| 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:32 | ncoghlan | set | recipients:
+ ncoghlan, eric.smith, eric.araujo, r.david.murray |
| 2010年09月28日 21:56:32 | ncoghlan | set | messageid: <1285710992.63.0.754231987344.issue9873@psf.upfronthosting.co.za> |
| 2010年09月28日 21:56:31 | ncoghlan | link | issue9873 messages |
| 2010年09月28日 21:56:30 | ncoghlan | create |
|