Message167488
| Author |
pitrou |
| Recipients |
M..Z., amaury.forgeotdarc, flox, georg.brandl, ishimoto, loewis, pitrou, python-dev, vstinner |
| Date |
2012年08月05日.11:21:18 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1344165522.3488.5.camel@localhost.localdomain> |
| In-reply-to |
<1344165374.18.0.96449761285.issue13119@psf.upfronthosting.co.za> |
| Content |
> Man page of Python says
>
> -u Force stdin, stdout and stderr to be totally unbuffered. On
> systems where it matters, also put stdin, stdout and stderr in
> binary mode.
I don't know which version it is, but current 3.3 says:
"Force the binary I/O layers of stdin, stdout and stderr to be
unbuffered. The text I/O layer will still be line-buffered."
> test_httpservers depends on this behavior, but was implemented as
> documented in Python 3.
I would argue that test_httpservers is wrong, since it uses print() in a
CGI script where sys.stdout.buffer.write() should really be used. |
|