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.

Title: Emphasize buffering issues when sys.stdin is used
Type: enhancement Stage: resolved
Components: Documentation Versions: Python 3.1, Python 3.2, Python 2.7
Status: closed Resolution: out of date
Dependencies: 1633941 Superseder:
Assigned To: docs@python Nosy List: docs@python, draghuram, iritkatriel
Priority: normal Keywords: patch

Created on 2007-01-24 17:28 by draghuram, last changed 2022-04-11 14:56 by admin. This issue is now closed.

Messages (3)
msg61055 - (view) Author: Raghuram Devarakonda (draghuram) (Python triager) Date: 2007-01-24 17:28

Please look at the bug:

As I commented there, I don't think any fix is needed but it appears to me that mentioning this case in docs wouldn't hurt. Something like this can be added to next() description at:

"Please consider buffering issues while using ``for line in sys.stdin`` when the input is being interactively entered".

msg113248 - (view) Author: Mark Lawrence (BreamoreBoy) * Date: 2010-08-08 10:45
Please note update to #1633941
msg380308 - (view) Author: Irit Katriel (iritkatriel) * (Python committer) Date: 2020-11-04 01:41
Closed along with 1633941.
Date User Action Args
2022-04-11 14:56:22adminsetgithub: 44502
2020-11-04 01:41:42iritkatrielsetstatus: open -> closed

nosy: + iritkatriel
messages: + msg380308

resolution: out of date
stage: needs patch -> resolved
2014-02-03 19:50:27BreamoreBoysetnosy: - BreamoreBoy
2010-08-08 10:45:37BreamoreBoysetnosy: + BreamoreBoy
messages: + msg113248
2010-08-07 18:34:32terry.reedysetstage: needs patch
versions: - Python 2.6
2010-07-10 06:28:17terry.reedysetversions: + Python 3.1, Python 2.7, Python 3.2, - Python 3.0
nosy: + docs@python

assignee: docs@python
keywords: + patch
stage: test needed -> (no value)
2009-03-30 19:05:01ajaksu2setdependencies: + for line in sys.stdin: doesn't notice EOF the first time
type: enhancement
stage: test needed
versions: + Python 3.0
2007-01-24 17:28:18draghuramcreate