Message117652
| Author |
ncoghlan |
| Recipients |
meador.inge, michael.foord, ncoghlan, vstinner |
| Date |
2010年09月29日.20:46:41 |
| SpamBayes Score |
0.0009482832 |
| Marked as misclassified |
No |
| Message-id |
<1285793203.12.0.938966098517.issue9969@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
As per Antoine's comment on #9873, requiring a real string via isinstance(source, str) to trigger the string IO version is likely to be cleaner than attempting to duck-type this. Strings are an area where we make so many assumptions about the way their internals work that duck-typing generally isn't all that effective. |
|
History
|
|---|
| Date |
User |
Action |
Args |
| 2010年09月29日 20:46:43 | ncoghlan | set | recipients:
+ ncoghlan, vstinner, michael.foord, meador.inge |
| 2010年09月29日 20:46:43 | ncoghlan | set | messageid: <1285793203.12.0.938966098517.issue9969@psf.upfronthosting.co.za> |
| 2010年09月29日 20:46:41 | ncoghlan | link | issue9969 messages |
| 2010年09月29日 20:46:41 | ncoghlan | create |
|