Message140173
| Author |
eli.bendersky |
| Recipients |
docs@python, eli.bendersky, eric.araujo, terry.reedy |
| Date |
2011年07月12日.04:55:14 |
| SpamBayes Score |
4.5196347e-11 |
| Marked as misclassified |
No |
| Message-id |
<1310446515.57.0.426026056.issue12434@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
In my opinion, it's the error messages and docstrings that should be changed, not the documentation. This module was introduced in 2.6 and moves on to 2.7, and there's no reason to have it throw confusing errors for the sake of easier back-patching from 3.x
However, when I run this example on 2.6, I get:
TypeError: can't write str to text stream
Which (arguably) makes sense, since the docs explicitly say that "Text I/O classes work with unicode data." |
|
History
|
|---|
| Date |
User |
Action |
Args |
| 2011年07月12日 04:55:15 | eli.bendersky | set | recipients:
+ eli.bendersky, terry.reedy, eric.araujo, docs@python |
| 2011年07月12日 04:55:15 | eli.bendersky | set | messageid: <1310446515.57.0.426026056.issue12434@psf.upfronthosting.co.za> |
| 2011年07月12日 04:55:15 | eli.bendersky | link | issue12434 messages |
| 2011年07月12日 04:55:14 | eli.bendersky | create |
|