Message129199
If I can find some time, I may took a look at this. I just noticed that similar problems arise trying to wrap TextIOWrapper around the file-like objects returned by urllib.request.urlopen as well.
In the big picture, some discussion of what it means to be "file-like" might be in order. If something is "file-like" and binary, should that always imply that I be able to wrap a TextIOWrapper object around it in order to encode/decode text? I would argue "yes", but I'd be curious to know what others think. |
|
Date |
User |
Action |
Args |
2011-02-23 14:37:11 | dabeaz | set | recipients:
+ dabeaz, pitrou, eric.araujo, r.david.murray |
2011-02-23 14:37:11 | dabeaz | set | messageid: <1298471831.29.0.128434582689.issue10791@psf.upfronthosting.co.za> |
2011-02-23 14:37:08 | dabeaz | link | issue10791 messages |
2011-02-23 14:37:08 | dabeaz | create | |
|