This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author dabeaz
Recipients dabeaz, eric.araujo, pitrou, r.david.murray
Date 2011-02-23.14:37:08
SpamBayes Score 0.023820542
Marked as misclassified No
Message-id <1298471831.29.0.128434582689.issue10791@psf.upfronthosting.co.za>
In-reply-to
Content
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.
History
Date User Action Args
2011-02-23 14:37:11dabeazsetrecipients: + dabeaz, pitrou, eric.araujo, r.david.murray
2011-02-23 14:37:11dabeazsetmessageid: <1298471831.29.0.128434582689.issue10791@psf.upfronthosting.co.za>
2011-02-23 14:37:08dabeazlinkissue10791 messages
2011-02-23 14:37:08dabeazcreate