Message304240
| Author |
serhiy.storchaka |
| Recipients |
berker.peksag, eryksun, gdr@garethrees.org, ncoghlan, serhiy.storchaka, vstinner |
| Date |
2017年10月12日.14:17:18 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1507817838.18.0.213398074469.issue28647@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
stdin is mentioned in the documentation of the -u option only due to weird internal buffering in Python 2, because user can expect that -u disables it. It is documented what methods use internal buffering and how get rid of it. No other buffering is mentioned.
This no longer actual in Python 3. I think there is no need to mention stdin in the context of the -u option at all. -u doesn't affect stdin buffering, whatever that would mean. Period.
Alternatively you can include a lecture about different kinds of buffering and how -u doesn't affect them. |
|